Content

Content is a basic content construct.

Constructors

this
this(TypeId type)

Constructs content type from data.

this
this(TypeId type, string name)

Constructs content type from data.

this
this(ubyte[] data)

Constructs content type from data.

Members

Functions

Compile
ubyte[] Compile()

Returns an ubyte array of the compiled representation of the content.

CompileFull
ubyte[] CompileFull()
Undocumented in source. Be warned that the author may not have intended to support it.
Convert
void Convert(ubyte[] data, ubyte type)

Converts input bytes into this type of content.

ConvertFull
void ConvertFull(ubyte[] data, ubyte type)
Undocumented in source. Be warned that the author may not have intended to support it.
TypeID
TypeId TypeID()

ubyte representation of the type.

Variables

Name
string Name;

The name of the content.

Type
ubyte Type;

The type id of the content file.

data
ubyte[] data;

<Protected> data is the byte data the content is made out of.

Meta