the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 25 lines 401 B view raw
1#pragma once 2#include "Tag.h" 3 4class EndTag : public Tag 5{ 6public: 7 EndTag() : Tag(L"") {} 8 EndTag(const wstring &name) : Tag(name) {} 9 10 void load(DataInput *dis, int tagDepth) {}; 11 void write(DataOutput *dos) {}; 12 13 byte getId() { return TAG_End; } 14 wstring toString() { return wstring( L"END" ); } 15 16 Tag *copy() 17 { 18 return new EndTag(); 19 } 20 21 bool equals(Tag *obj) 22 { 23 return Tag::equals(obj); 24 } 25};