/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #ifndef ENGINE_MESSAGE_H #define ENGINE_MESSAGE_H #include #include class CMsgPacker : public CPacker { public: CMsgPacker(int Type) { Reset(); if(Type < OFFSET_UUID) { AddInt(Type); } else { AddInt(0); // NETMSG_EX, NETMSGTYPE_EX g_UuidManager.PackUuid(Type, this); } } }; #endif