#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; }; // À¯Àú ·Î±×ÀÎ ÀÀ´ä DBAgentServer -> AuthServer typedef struct PktULDAck* LPPktULDAck; struct PktULDAck : public PktDD { unsigned long m_dwUserID; CHAR_VIEW m_CharView[3]; }; // À¯Àú ·Î±×¾Æ¿ô AuthServer -> DBAgentServer typedef struct PktULoD *LPPktULoD; struct PktULoD : public PktDD { unsigned long m_dwSessionID; unsigned long m_dwUserID; }; // ¼¼¼Ç ½ÃÀÛ DBAgentServer -> AuthServer typedef struct PktSSD *LPPktSSD; struct PktSSD : public PktDD { unsigned long m_dwSessionID; unsigned long m_dwUserID; }; // --------------------------------------------------------- // --------------------------------------------------------- // 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 = 2 }; 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; }; // --------------------------------------------------------- // --------------------------------------------------------- // ij¸¯ÅÍ »ý¼º ¾ÆÀÌÅÛ °ü·Ã (µ¥ÀÌÅÍ) typedef struct PktCCID* LPPktCCID; struct PktCCID : public PktDD { 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