#ifndef _SEND_CHAR_ITEM_H_ #define _SEND_CHAR_ITEM_H_ #include #include // Àü¹æ ÂüÁ¶ class CSendStream; class CCharacter; namespace Item { class CItem; } namespace GameClientSendPacket { // ¾ÆÀÌÅÛ À̵¿ bool SendCharTakeItem(CSendStream& SendStream, unsigned long dwCharID, TakeType takeType, unsigned short usError); // ¾ÆÀÌÅÛ ½º¿Ò bool SendCharSwapItem(CSendStream& SendStream, unsigned long dwCharID, TakeType takeSrc, TakeType takeDst, unsigned short usError); // ¾ÆÀÌÅÛ ¼ö¸® bool SendCharRepairItem(CSendStream& SendStream, unsigned long dwCharID, unsigned long dwRepairGold, Item::ItemPos itemPos, unsigned short usError); // ¾ÆÀÌÅÛ ¼ö¸® (ÀåºñÇϰí ÀÖ´Â ¾ÆÀÌÅÛ ¸ðµÎ ¼ö¸®) bool SendCharRepairAllItem(CSendStream& SendStream, unsigned long dwCharID, unsigned long dwRepairGold, unsigned short usError); // ¾ÆÀÌÅÛ »ç¿ë bool SendCharUseItem(CSendStream& SendStream, unsigned long dwSender, unsigned long dwReceiver, Item::ItemPos itemPos, unsigned char cRemainItemNum, unsigned short usError); // ij½¬ ¾ÆÀÌÅÛ »ç¿ë bool SendCharUseCashItem(CSendStream& SendStream, unsigned long dwSender, unsigned long dwReceiver, Item::ItemPos itemPos, unsigned char cRemainItemNum, unsigned short usError); // ¾ÆÀÌÅÛ ÆÈ°í »ç±â bool SendCharTradeItem(CSendStream& SendStream, CCharacter* lpCharacter, unsigned long dwNPCID, Item::ItemPos CouponPos, Item::CItem* lpItem, Item::ItemPos itemPos, unsigned char cNum, unsigned short usError); // NPC Àåºñ »óÁ¡ Á¤º¸ bool SendCharEquipShopInfo(CSendStream& SendStream, unsigned long dwCID, unsigned long dwNPCID, unsigned long dwTime, unsigned char cRace, unsigned char cTabPage, unsigned char cNum, unsigned short* aryItemID, unsigned char* aryItemGrade, unsigned short usError); // ¾ÆÀÌÅÛ Áý±â bool SendCharPickUp(CSendStream& SendStream, unsigned long dwCID, unsigned __int64 nObjectID, unsigned long dwGold, Item::CItem* lpItem, Item::ItemPos dstPos, unsigned char cNum, unsigned short usError); // ¿ÀÅä ·çÆÃ bool SendCharAutoRouting(CSendStream& SendStream, unsigned long dwCID, unsigned __int64 nObjectID, unsigned short wItemID, unsigned char cNum, unsigned char cCmd); // ¾ÆÀÌÅÛ ¹ö¸®±â bool SendCharPullDown(CSendStream& SendStream, unsigned long dwCID, Item::ItemPos itemPos, CCell::ItemInfo& itemInfo, unsigned short usError); // ¾ÆÀÌÅÛ »ç¶óÁö±â bool SendCharDisappearItem(CSendStream& SendStream, unsigned long dwCID, Item::ItemPos itemPos, unsigned char cNum, unsigned char cCmd, unsigned short usError); // ¾ÆÀÌÅÛ ³ª´©±â bool SendCharSplitItem(CSendStream& SendStream, unsigned long dwCID, Item::CItem* lpSplitItem, TakeType takeType, unsigned short usError); // µ· ¿Å±â±â bool SendCharTakeGold(CSendStream& SendStream, unsigned long dwCID, unsigned long dwGold, unsigned char cSrcPos, unsigned char cDstPos, unsigned short usError); // ±³È¯ ¾ÆÀÌÅÛ Á¤º¸ ÁÖ±â bool SendCharExchangeItem(CSendStream& SendStream, unsigned long dwOwnerCID, unsigned long dwGold, Item::CItem* lpItem, Item::ItemPos itemPos, bool bStack, bool bRemove); // â°í ¾÷µ¥ÀÌÆ® Ä¿¸Çµå. bool SendCharDepositCmd(CSendStream& SendStream, unsigned char cCmd, char* szData, size_t nDataLength, unsigned short usError); // â°í ¾÷µ¥ÀÌÆ®(ÆÐ½º¿öµå) bool SendCharDepositPasswordToDBAgent(CSendStream& SendStream, unsigned long dwUID, const char* szPassword, size_t nPasswordLen); // â°í ¾÷µ¥ÀÌÆ®(Gold) bool SendCharDepositGoldToDBAgent(CSendStream& SendStream, unsigned long dwUID, unsigned long dwGold); // º¹±Ç °á°ú bool SendCharLotteryResult(CSendStream& SendStream, unsigned long CID, Item::ItemPos itemPos, Item::CItem* lpItem, unsigned short usError); }; #endif