forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
41
src/nbt/EndTag.h
Executable file
41
src/nbt/EndTag.h
Executable file
@@ -0,0 +1,41 @@
|
||||
#ifndef COM_MOJANG_NBT__EndTag_H__
|
||||
#define COM_MOJANG_NBT__EndTag_H__
|
||||
|
||||
//package com.mojang.nbt;
|
||||
|
||||
/* import java.io.* */
|
||||
|
||||
class EndTag: public Tag {
|
||||
typedef Tag super;
|
||||
public:
|
||||
EndTag()
|
||||
: super("")
|
||||
{
|
||||
}
|
||||
|
||||
void load(IDataInput* dis) /*throws IOException*/ {
|
||||
}
|
||||
|
||||
void write(IDataOutput* dos) /*throws IOException*/ {
|
||||
}
|
||||
|
||||
char getId() const {
|
||||
return TAG_End;
|
||||
}
|
||||
|
||||
std::string toString() const {
|
||||
return "END";
|
||||
}
|
||||
|
||||
//@Override
|
||||
Tag* copy() const {
|
||||
return new EndTag();
|
||||
}
|
||||
|
||||
//@Override
|
||||
bool equals(const Tag& rhs) const {
|
||||
return super::equals(rhs);
|
||||
}
|
||||
};
|
||||
|
||||
#endif /*COM_MOJANG_NBT__EndTag_H__*/
|
||||
Reference in New Issue
Block a user