#ifndef _AUTHSERVER_TO_DBAGENT_SERVER_PACKET_H_ #define _AUTHSERVER_TO_DBAGENT_SERVER_PACKET_H_ #include #include #include #include "DataPacket.h" #pragma pack(1) // --------------------------------------------------------- // À¯Àú ·Î±×ÀÎ ¿äû AuthServer -> DBAgentServer typedef struct PktULD* LPPktULD; struct PktULD : public PktDD { unsigned long m_dwSessionID; unsigned long m_dwUserID; IN_ADDR m_Address; unsigned char m_cLoginType; }; // À¯Àú ·Î±×ÀÎ ÀÀ´ä DBAgentServer -> AuthServer typedef struct PktULDAck* LPPktULDAck; struct PktULDAck : public PktDD { enum Const { MAX_CHAR_VIEW = 5 }; unsigned long m_dwUserID; sGuildData m_GuildData[MAX_CHAR_VIEW]; CHAR_VIEW m_CharView[MAX_CHAR_VIEW]; STORE_INFO m_sStoreInfo; // WORK_LIST 2.1 °èÁ¤ ±¹Àû Ãß°¡ unsigned char m_cAccountNation; // °èÁ¤ ±¹Àû int m_nPlayTime; // BillingTypeÀÌ Á¤¾×ÀÎ °æ¿ì´Â ³²Àº ³¯Â¥. Á¤·®ÀÎ °æ¿ì´Â ³²Àº ½Ã°£(ºÐ) unsigned short m_usAdminLevel; unsigned char m_cBillingType; // D : Á¤¾× T : Á¤·® N : ¹«·á unsigned char m_cBillingUser; // 0 : °³ÀÎ 1 : Çǽùæ unsigned char m_cLoginType; }; // À¯Àú ·Î±×¾Æ¿ô AuthServer -> DBAgentServer typedef struct PktULoD *LPPktULoD; struct PktULoD : public PktDD { unsigned long m_dwSessionID; unsigned long m_dwUserID; }; // À¯Àú À̵¿ typedef struct PktUMvD *LPPktUMvD; struct PktUMvD : public PktDD { unsigned long m_dwSessionID; unsigned long m_dwUserID; }; // ¼¼¼Ç ½ÃÀÛ DBAgentServer -> AuthServer typedef struct PktSSD *LPPktSSD; struct PktSSD : public PktDD { enum { // edith 2008.03.17 ID,PASS ±æÀÌÁ¶Á¤ MaxName = 24, MaxPass = 36, }; unsigned long m_dwSessionID; unsigned long m_dwUserID; char m_AccountName[MaxName]; // edith 2008.01.15 ÆÐ½º¿öµå Ãß°¡ÀÛ¾÷ char m_Password[MaxPass]; unsigned char m_cAgentServerType; unsigned char m_cFirstLogin; IN_ADDR m_Address; }; /* * cAgentServerType ¸â¹ö CServerSetup::AgentServerType ÀÇ °ªÀ» Âü°íÇÒ °Í. Part1 = 20, Part1Unified = 21, Part2 = 22, Part2Unified = 23, Part2Selectable = 24, * cFirstLogin ¸â¹ö ¿¡·¯°ªÀÌ 0 ÀÌ»óÀÌ¸é ¹«½ÃÇÑ´Ù. cAgentServerType°ªÀÌ Part2Unified/Part2SelectableÀÏ °æ¿ì¸¸ À¯ÀǹÌÇÑ °ªÀÌ´Ù. Part2Unified â°í °¡Á®¿Â Àû ¾ø´Ù : 0 Part1 ÅëÇÕ¿¡¼­ â°í °¡Á®¿Â Àû ÀÖ´Ù : 1 Part2 ÅëÇÕ¿¡¼­ â°í °¡Á®¿Â Àû ÀÖ´Ù : 2 Part2Selectable ·Î±×ÀÎÇÑ ÀûÀÌ ¾ø´Ù : 0 ·Î±×ÀÎÇÑ ÀûÀÌ ÀÖ´Ù : 2 */ // --------------------------------------------------------- // --------------------------------------------------------- // ij¸¯ÅÍ »ý¼º ¿äû AuthServer -> DBAgentServer typedef struct PktCCD* LPPktCCD; struct PktCCD : public PktDD { unsigned long m_dwUserID; unsigned long m_dwSlot; unsigned long m_dwGold; POS m_Pos; CHAR_CREATE m_CharCreate; unsigned short m_wSkill; }; // ij¸¯ÅÍ »ý¼º ÀÀ´ä DBAgentServer -> AuthServer typedef struct PktCCDAck* LPPktCCDAck; struct PktCCDAck : public PktDD { unsigned long m_dwCharID; unsigned long m_dwSlot; CHAR_VIEW m_CharView; }; // --------------------------------------------------------- // --------------------------------------------------------- // ij¸¯ÅÍ ¼±Åà °ü·Ã (µ¥ÀÌÅÍ) typedef struct PktCSD* LPPktCSD; struct PktCSD : public PktDD { unsigned long m_dwUserID; unsigned long m_dwCharID; }; typedef struct PktCSDAck* LPPktCSDAck; struct PktCSDAck : public PktDD { enum { MAX_CHANNEL_NUM = 5 }; unsigned char m_cZone; unsigned short m_wChannelNum[MAX_CHANNEL_NUM]; }; // --------------------------------------------------------- // --------------------------------------------------------- // ij¸¯ÅÍ »èÁ¦ °ü·Ã (µ¥ÀÌÅÍ) typedef struct PktCDD* LPPktCDD; struct PktCDD : public PktDD { unsigned long m_dwUserID; unsigned long m_dwSlotNum; unsigned long m_dwCharID; }; // --------------------------------------------------------- // WORK_LIST 2.1 °èÁ¤ ±¹Àû Ãß°¡ // --------------------------------------------------------- // °èÁ¤ ±¹Àû º¯°æ °ü·Ã (µ¥ÀÌÅÍ) typedef struct PktSAND* LPPktSAND; struct PktSAND : public PktDD { enum eType { TYPE_SET = 1, TYPE_CHANGE = 2 }; unsigned long m_dwUserID; unsigned char m_cType; unsigned char m_cAccountNation; }; // °èÁ¤ ±¹Àû º¯°æ¿¡ µû¸¥ °á°ú ÆÐŶ typedef struct PktANCAck* LPPktANCAck; struct PktANCAck : public PktDD { enum { MAX_CHAR_VIEW = 5 }; unsigned long m_dwUserID; unsigned long m_dwGID[ MAX_CHAR_VIEW ]; unsigned long m_dwFame[ MAX_CHAR_VIEW ]; }; // --------------------------------------------------------- // --------------------------------------------------------- // ij¸¯ÅÍ »ý¼º ¾ÆÀÌÅÛ °ü·Ã (µ¥ÀÌÅÍ) typedef struct PktCCID* LPPktCCID; struct PktCCID : public PktDD { unsigned __int64 m_dwItemSerial; unsigned long m_dwCharID; unsigned long m_dwSize; }; // --------------------------------------------------------- // --------------------------------------------------------- // ij¸¯ÅÍ ·Î±×ÀÎ °ü·Ã (µ¥ÀÌÅÍ) typedef struct PktCLiD* LPPktCLiD; struct PktCLiD : public PktDD { unsigned long m_dwUserID; unsigned long m_dwCharID; unsigned long m_dwSerial; }; // --------------------------------------------------------- #pragma pack() #endif