ddnet/src/engine/message.h
2012-08-09 10:30:04 +02:00

19 lines
425 B
C++

/* (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 <engine/shared/packer.h>
class CMsgPacker : public CPacker
{
public:
CMsgPacker(int Type, bool System=false)
{
Reset();
AddInt((Type<<1)|(System?1:0));
}
};
#endif