C# Class Glare.Assets.BinaryAsset

A fallback for loading Assets that just contains binary data.
Inheritance: Asset
Datei anzeigen Open project: Burton-Radons/Alexandria Class Usage Examples

Public Methods

Method Description
BinaryAsset ( AssetManager manager, string name, IList data, int displayOffset ) : System

Initialise the asset.

BinaryAsset ( AssetManager manager, string name, IList data, int start, int count, int displayOffset ) : System

Initialise the asset.

Browse ( Action progressUpdateCallback = null ) : Control

Make a hex browser for the data.

this ( int index ) : byte

Get a byte of the data.

Method Details

BinaryAsset() public method

Initialise the asset.
public BinaryAsset ( AssetManager manager, string name, IList data, int displayOffset ) : System
manager AssetManager
name string
data IList
displayOffset int
return System

BinaryAsset() public method

Initialise the asset.
public BinaryAsset ( AssetManager manager, string name, IList data, int start, int count, int displayOffset ) : System
manager AssetManager
name string
data IList
start int
count int
displayOffset int
return System

Browse() public method

Make a hex browser for the data.
public Browse ( Action progressUpdateCallback = null ) : Control
progressUpdateCallback Action
return System.Windows.Forms.Control

this() public method

Get a byte of the data.
public this ( int index ) : byte
index int
return byte