ContentFile

ContentFile is a content file.

Constructors

this
this(FileTypeId type)
Undocumented in source.
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.

Static functions

ReadContentFile
ContentFile ReadContentFile(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

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