summaryrefslogtreecommitdiffstats
path: root/converter/cNBTData.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-30 12:41:18 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-30 12:41:18 +0100
commitca1d98a7baf7d650c02e027c6c15dfc8eeeb171d (patch)
treec2bdc0ef32a29ffad7bb7b6f34aeb8bee8ceda30 /converter/cNBTData.h
parentLast changes to the converter before bed. (diff)
downloadcuberite-ca1d98a7baf7d650c02e027c6c15dfc8eeeb171d.tar
cuberite-ca1d98a7baf7d650c02e027c6c15dfc8eeeb171d.tar.gz
cuberite-ca1d98a7baf7d650c02e027c6c15dfc8eeeb171d.tar.bz2
cuberite-ca1d98a7baf7d650c02e027c6c15dfc8eeeb171d.tar.lz
cuberite-ca1d98a7baf7d650c02e027c6c15dfc8eeeb171d.tar.xz
cuberite-ca1d98a7baf7d650c02e027c6c15dfc8eeeb171d.tar.zst
cuberite-ca1d98a7baf7d650c02e027c6c15dfc8eeeb171d.zip
Diffstat (limited to '')
-rw-r--r--converter/cNBTData.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/converter/cNBTData.h b/converter/cNBTData.h
index a0a40e68b..2ab5b0e21 100644
--- a/converter/cNBTData.h
+++ b/converter/cNBTData.h
@@ -20,14 +20,16 @@ public:
#endif
{
TAG_End = 0,
- TAG_Byte,
- TAG_Short,
- TAG_Int,
- TAG_Long,
+ TAG_Byte = 1,
+ TAG_Short = 2,
+ TAG_Int = 3,
+ TAG_Long = 4,
+ TAG_Float = 5,
+ TAG_Double = 6,
TAG_ByteArray = 7,
- TAG_String,
- TAG_List,
- TAG_Compound,
+ TAG_String = 8,
+ TAG_List = 9,
+ TAG_Compound = 10,
TAG_NumTags // Not a real tag, but contains number of tags
};
@@ -167,7 +169,7 @@ private:
std::string ReadName();
char ReadByte();
int ReadInt();
- long ReadLong();
+ long long ReadLong();
cNBTCompound* m_CurrentCompound;