December 2014 files

This commit is contained in:
Loki Rautio
2026-03-01 11:00:23 -06:00
parent b691c43c44
commit 8fd3ac6e37
2049 changed files with 260190 additions and 134787 deletions

View File

@@ -19,7 +19,7 @@ public:
static const byte TAG_List = 9;
static const byte TAG_Compound = 10;
static const byte TAG_Int_Array = 11;
static const int MAX_DEPTH = 512;
private:
wstring name;
@@ -28,7 +28,7 @@ protected:
public:
virtual void write(DataOutput *dos) = 0;
virtual void load(DataInput *dis) = 0;
virtual void load(DataInput *dis, int tagDepth) = 0;
virtual wstring toString() = 0;
virtual byte getId() = 0;
void print(ostream out);
@@ -36,6 +36,7 @@ public:
wstring getName();
Tag *setName(const wstring& name);
static Tag *readNamedTag(DataInput *dis);
static Tag *readNamedTag(DataInput *dis, int tagDepth);
static void writeNamedTag(Tag *tag, DataOutput *dos);
static Tag *newTag(byte type, const wstring &name);
static wchar_t *getTagName(byte type);