C# Class Glare.Assets.DataAsset

An asset that can be loaded as binary data, which is then loaded as data.
Inheritance: Asset
Afficher le fichier Open project: Burton-Radons/Alexandria

Méthodes publiques

Méthode Description
Browse ( Action progressUpdateCallback = null ) : Control

Browse the contents.

BrowseContents ( Action progressUpdateCallback = null ) : Control

Browse the contents.

DataAsset ( FolderAsset parent, string name, string description = null ) : System

Initialise the data asset.

FillContextMenu ( ContextMenuStrip strip ) : void

Fill out a context menu.

Open ( ) : Stream

Open a stream to the data.

OpenReader ( ) : BinaryReader

Open a binary reader for the stream.

OpenReader ( ByteOrder byteOrder ) : BinaryReader

Open a binary reader for the stream.

Méthodes protégées

Méthode Description
Load ( ) : Asset

Load the data.

Method Details

Browse() public méthode

Browse the contents.
public Browse ( Action progressUpdateCallback = null ) : Control
progressUpdateCallback Action
Résultat System.Windows.Forms.Control

BrowseContents() public méthode

Browse the contents.
public BrowseContents ( Action progressUpdateCallback = null ) : Control
progressUpdateCallback Action
Résultat System.Windows.Forms.Control

DataAsset() public méthode

Initialise the data asset.
public DataAsset ( FolderAsset parent, string name, string description = null ) : System
parent FolderAsset
name string
description string
Résultat System

FillContextMenu() public méthode

Fill out a context menu.
public FillContextMenu ( ContextMenuStrip strip ) : void
strip System.Windows.Forms.ContextMenuStrip
Résultat void

Load() protected méthode

Load the data.
protected Load ( ) : Asset
Résultat Asset

Open() public abstract méthode

Open a stream to the data.
public abstract Open ( ) : Stream
Résultat Stream

OpenReader() public méthode

Open a binary reader for the stream.
public OpenReader ( ) : BinaryReader
Résultat System.IO.BinaryReader

OpenReader() public méthode

Open a binary reader for the stream.
public OpenReader ( ByteOrder byteOrder ) : BinaryReader
byteOrder ByteOrder
Résultat System.IO.BinaryReader