#ifndef _DBAGENT_SERVER_SEND_CHAR_MANAGE_H_ #define _DBAGENT_SERVER_SEND_CHAR_MANAGE_H_ #include #include // forward decl. class CSendStream; struct USER_INFO; struct CHAR_VIEW; struct sGuildData; struct UnifiedStoreInfo; struct UnifiedCharData; namespace DBAgent { namespace DataStorage { // forward delc. class CSessionData; } namespace SendPacket { // WORK_LIST 2.1 °èÁ¤ ±¹Àû Ãß°¡ // ij¸¯ÅÍ ºä ¾ò¾î ¿À±â bool UserLogin(CSendStream& SendStream, unsigned long dwRequestKey, unsigned long dwUID, const CHAR_VIEW* lpCharView, const sGuildData* lpGuildData, const STORE_INFO* pStoreInfo, unsigned long dwCharViewNum, unsigned char cAccountNation, int nPlayTime, unsigned char cAdminLevel, unsigned char cBillingUser, unsigned char cBillingType, unsigned char cLoginType, unsigned short usError); // ij¸¯ÅÍ ¼±Åà bool CharSelect(CSendStream& SendStream, unsigned long dwRequestKey, unsigned char cZone, unsigned short usError); // ij¸¯ÅÍ »ý¼º bool CharCreate(CSendStream& SendStream, unsigned long dwRequestKey, unsigned long dwCID, unsigned long dwSlot, const CHAR_VIEW& CharView, unsigned short usError); // ij¸¯ÅÍ »èÁ¦ bool CharDelete(CSendStream& SendStream, unsigned long dwRequestKey, unsigned long dwUID, unsigned long dwSlot, unsigned long dwCID, unsigned short usError); // ¾ÆÀÌÅÛ »ý¼º bool CharCreateItem(CSendStream& SendStream, unsigned long dwRequestKey, unsigned char cZone, unsigned short usError); // WORK_LIST 2.1 °èÁ¤ ±¹Àû Ãß°¡ // °èÁ¤ ±¹Àû ¼³Á¤ ¹× º¯°æ bool SelectAccountNation(CSendStream& SendStream, unsigned long dwRequestKey, unsigned long dwUID, unsigned char cType, unsigned char cAccountNation, unsigned short usError); // WORK_LIST 2.3 °èÁ¤ ±¹Àû º¯°æ ±â´É ±¸Çö bool NationChangeResult(CSendStream& SendStream, unsigned long dwRequestKey, unsigned long dwUID, unsigned long* aryGID, unsigned long* aryFame); // ¼­¹öÅëÇÕ Ä³¸¯ÅÍ Á¤º¸ Àü´Þ. ¸ðµç ij¸¯Å͸¦ ¼±ÅÃÇÒ ¼ö ÀÖ´Â ÅëÇսÿ¡´Â µ¥ÀÌÅ͸¦ Àü´ÞÇÏÁö ¾Ê´Â´Ù. bool UnifiedCharInfo(CSendStream& SendStream, unsigned long dwUID, unsigned char cTransferedCharCount, const USER_INFO& userInfo, const UnifiedStoreInfo* lpUnifiedStoreInfo, unsigned long dwUnifiedStoreNum, const UnifiedCharData* lpUnifiedCharData, unsigned long dwUnifiedCharNum); // Part1 DBÁß°è¼­¹ö·Î µ¥ÀÌÅ͸¦ Àü¼ÛÇÑ´Ù. bool UnifiedCharSelectReq(CSendStream& SendStream, unsigned long dwUID, unsigned long dwRequestKey, unsigned long* lpdwCID, unsigned long dwCIDNum, unsigned char cSelectedStoreServerGroup, unsigned char cSelectedNation); // ÀÎÁõ¼­¹ö·Î ij¸¯ÅÍ ¼±Åà ¼º°ø/½ÇÆÐ¸¦ ÁØ´Ù. bool UnifiedCharSelectAck(CSendStream& SendStream, unsigned long dwUID, unsigned long dwRequestKey, unsigned short usError); // ij½¬¾ÆÀÌÅÛÀ» »ç¿ë bool CharUseCashItem(CSendStream& SendStream, unsigned long dwSender, unsigned long dwReceiver, Item::ItemPos itemPos, unsigned char cRemainItemNum, unsigned short usError); // ¿¢½ºÆ®¶ó À̺¥Æ® Àü¼Û bool CharExtraEvent(CSendStream& SendStream, unsigned long dwUID, unsigned long dwCID, unsigned long dwEventID, unsigned long dwValue1, unsigned long dwValue2, unsigned short usError); } } #endif