Represents a single element of data in the stream. More...
#include <MessageListParser.h>

Public Attributes | |
| BasicSerializedDataType | type |
| The data type of this element. | |
| bool | varyingCount |
| If true, the number of times this element is instanced is specified in the stream. | |
| int | count |
| If varyingCount=false, denotes the number of times this element is present in the stream. | |
| std::string | name |
| The name of this element. | |
|
std::vector < SerializedElementDesc * > | elements |
| If this element denotes a structure (type == SerialStruct), then this vector contains all the child nodes. | |
| SerializedElementDesc * | parent |
| The parent element, or 0 if this is the root element. | |
Represents a single element of data in the stream.
Can be a single value (one u32, or one float), an array of data (nine bits, 12 u64's), a struct (see the elements member), or even an array of structs. An array can be fixed-size (the protocol file specifies the number of elements in the array), or of dynamic size (the stream stores the element count just before the first actual element).
If varyingCount=false, denotes the number of times this element is present in the stream.
If varyingCount=true, specifies how many *bits* of storage is used in the stream to store the number of times this element is stored.
Referenced by kNet::DataDeserializer::GetDynamicElemCount().
1.7.1