Cuberite
A lightweight, fast and extensible game server for Minecraft
|
This structure is used for all NBT tags. More...
#include <FastNBT.h>
Public Member Functions | |
cFastNBTTag (eTagType a_Type, int a_Parent) | |
cFastNBTTag (eTagType a_Type, int a_Parent, int a_PrevSibling) | |
Public Attributes | |
size_t | m_DataLength |
size_t | m_DataStart |
int | m_FirstChild |
int | m_LastChild |
size_t | m_NameLength |
size_t | m_NameStart |
int | m_NextSibling |
int | m_Parent |
int | m_PrevSibling |
eTagType | m_Type |
This structure is used for all NBT tags.
It contains indices to the parent array of tags, building the NBT tree this way. Also contains indices into the data stream being parsed, used for values; NO dynamically allocated memory is used! Structure (all with the tree structure it describes) supports moving in memory (std::vector reallocation)
|
inline |
|
inline |