#ifndef _DATA_PACKET_H_ #define _DATA_PACKET_H_ #include #pragma pack(1) typedef struct PktDD* LPPktDD; struct PktDD : public PktBase { unsigned long m_dwUID; unsigned short m_wCmd; enum SubCommands { SCmdUserLogin = 0x0001, // À¯Àú ·Î±×ÀÎ SCmdUserLogout = 0x0002, // À¯Àú ·Î±×ÀÎ SCmdUserMove = 0x0003, // À¯Àú Á¸ À̵¿ SCmdCharCreate = 0x0021, // ij¸¯ÅÍ »ý¼º SCmdCharDelete = 0x0022, // ij¸¯ÅÍ »èÁ¦ SCmdCharCreateItem = 0x0023, // ij¸¯ÅÍ »ý¼º ¾ÆÀÌÅÛ SCmdCharSelect = 0x0024, // ij¸¯ÅÍ ¼±Åà SCmdCreateParty = 0x0031, // ÆÄƼ »ý¼º SCmdDeleteParty = 0x0032, // ÆÄƼ »èÁ¦ SCmdGetPartyInfo = 0x0033, // ÆÄƼ Á¤º¸ ¾ò±â SCmdInsertPartyMem = 0x0034, // ÆÄƼ ¸â¹ö Ãß°¡ SCmdDeletePartyMem = 0x0035, // ÆÄƼ ¸â¹ö »èÁ¦ SCmdLoginPartyMem = 0x0036, // ÆÄƼ ¸â¹ö ·Î±×ÀÎ SCmdLogoutPartyMem = 0x0037, // ÆÄƼ ¸â¹ö ·Î±×¾Æ¿ô SCmdTransferLeader = 0x0038, // ¸®´õ ¾çµµ SCmdStartSession = 0x0041, // ¼¼¼Ç ½ÃÀÛ SCmdServerZone = 0x0043, // ¼­¹ö Á¸ SCmdCharMoveZone = 0x0044 // ij¸¯ÅÍ Á¸À̵¿ }; inline void InitPtSubCmd(unsigned long dwUID, unsigned short Cmd_In); }; inline void PktDD::InitPtSubCmd(unsigned long dwUID, unsigned short Cmd_In) { m_dwUID = dwUID; m_wCmd = Cmd_In; } #pragma pack() #endif