MPacket.h
00001 #ifndef _MPACKET_H 00002 #define _MPACKET_H 00003 00004 #include "MCommand.h" 00005 #include "MCommandManager.h" 00006 00007 #define MSG_COMMAND 1000 00008 00009 #pragma pack(1) 00010 00011 struct MPacketHeader 00012 { 00013 unsigned short nMsg; 00014 unsigned short nSize; 00015 unsigned short nCheckSum; 00016 MPacketHeader() { nMsg=MSG_COMMAND; nSize=0; nCheckSum=0; } 00017 }; 00018 00019 #pragma pack() 00020 00021 00022 #endif
MAIET entertainment