first commit
This commit is contained in:
25
Minecraft.World/EndTag.h
Normal file
25
Minecraft.World/EndTag.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include "Tag.h"
|
||||
|
||||
class EndTag : public Tag
|
||||
{
|
||||
public:
|
||||
EndTag() : Tag(L"") {}
|
||||
EndTag(const wstring &name) : Tag(name) {}
|
||||
|
||||
void load(DataInput *dis) {};
|
||||
void write(DataOutput *dos) {};
|
||||
|
||||
byte getId() { return TAG_End; }
|
||||
wstring toString() { return wstring( L"END" ); }
|
||||
|
||||
Tag *copy()
|
||||
{
|
||||
return new EndTag();
|
||||
}
|
||||
|
||||
bool equals(Tag *obj)
|
||||
{
|
||||
return Tag::equals(obj);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user