#ifndef _DATA_PACKET_H_ #define _DATA_PACKET_H_ #include #pragma pack(1) typedef struct PktDD* LPPktDD; struct PktDD : public PktBase { unsigned long m_dwRequestKey; unsigned short m_wCmd; enum SubCommands { SCmdUserLogin = 0x0001, // À¯Àú ·Î±×ÀÎ SCmdUserLogout = 0x0002, // À¯Àú ·Î±×ÀÎ SCmdUserMove = 0x0003, // À¯Àú Á¸ À̵¿ // WORK_LIST 2.1 °èÁ¤ ±¹Àû Ãß°¡ SCmdSelectNation = 0x0004, // À¯Àú °èÁ¤ ±¹Àû // WORK_LIST 2.3 °èÁ¤ ±¹Àû º¯°æ ±â´É ±¸Çö SCmdNationChangeResult = 0x0005, 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, // ÆÄƼ ¸®´õ ¾çµµ SCmdAutoRoutingOn = 0x0039, // ÆÄƼ ¿ÀÅä·çÆÃ Äѱâ SCmdAutoRoutingOff = 0x003A, // ÆÄƼ ¿ÀÅä·çÆÃ ²ô±â //SCmdPartyAddress = 0x003B, // ÆÄƼ¿ø UDP ÁÖ¼Ò ¾÷µ¥ÀÌÆ® SCmdDeadPartyMem = 0x003C, // ÆÄƼ¿ø »ç¸Á SCmdMoveZonePartyMem = 0x003D, // ÆÄƼ¿ø Á¸À̵¿ : RefID = À̵¿ÇÒ Á¸ ID SCmdLevelUpPartyMem = 0x003E, // ÆÄƼ¿ø ·¹º§¾÷ : RefID = ·¹º§¾÷ÇÑ ·¹º§ SCmdChangeClassPartyMem = 0x003F, // ÆÄƼ¿ø Ŭ·¡½ºº¯°æ : RefID = ¹Ù²ï Ŭ·¡½º SCmdChangeGuildPartyMem = 0x0040, // ÆÄƼ¿ø ±æµå º¯°æ½Ã : RefID = ¹Ù²ï ±æµå ID SCmdStartSession = 0x0050, // ¼¼¼Ç ½ÃÀÛ SCmdServerZone = 0x0051, // ¼­¹ö Á¸ SCmdCharMoveZone = 0x0052, // ij¸¯ÅÍ Á¸À̵¿ SCmdServerZoneEnd = 0x0053 // ¼­¹ö Á¸ ³¡ }; inline void InitPtSubCmd(unsigned long dwRequestKey, unsigned short Cmd_In); }; inline void PktDD::InitPtSubCmd(unsigned long dwRequestKey, unsigned short Cmd_In) { m_dwRequestKey = dwRequestKey; m_wCmd = Cmd_In; } #pragma pack() #endif