ContentFile

ContentFile is a content file.

Constructors

this
this(ubyte id, ubyte[] data)

Construct a raw content class.

this
this(FileTypeId id, ubyte[] data)

Construct a raw content class.

Members

Functions

Compile
ubyte[] Compile()

Turn the Content class into a file-writable byte array.

Save
void Save(string name)

Saves the content to disk.

TypeID
FileTypeId TypeID()

ubyte representation of the type.

Variables

Data
Content Data;

The data used to construct a higher level content type.

Info
ContentInfo Info;

Header information for the content file.

Type
ubyte Type;

The type id of the content file.

Meta