NBTCompound

NBT Compound containing a array of named items.

Constructors

this
this(INBTItem[] items, string name)
Undocumented in source.

Members

Functions

decode
void decode(ubyte[] data, bool compressed, bool hasName)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
ubyte[] encode(bool compressed, bool hasName)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(string name, bool throwOnError)
opIndex
INBTItem opIndex(string index)
opIndexAssign
INBTItem opIndexAssign(INBTItem item, string index)

Sets the value at index to a duplicate of item and will rename the item name to index.

read
void read(ubyte[] stream, bool hasName)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

Properties

dup
INBTItem dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
type
NBTType type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
value
INBTItem[] value [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
value
INBTItem[] value [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta