#ifndef _SEND_CHAR_COMMUNITY_H_ #define _SEND_CHAR_COMMUNITY_H_ // Àü¹æ ÂüÁ¶ class CCharacter; class CSendStream; struct PktWh; struct AddressInfo; struct TakeType; struct GuildRight; namespace Guild { struct MemberInfo; }; namespace GameClientSendPacket { // ij¸¯ÅÍ ±³È¯ Á¤º¸ º¸³»±â bool SendCharExchangeCmd(CSendStream& SendStream, unsigned long dwSenderID_In, unsigned long dwRecverID_In, unsigned char cCmd_In, unsigned short usError_In); // --------------------------------------------------------------------------------------------------------------------- // ij¸¯ÅÍ ÆÄƼ Ä¿¸Çµå º¸³»±â. bool SendCharPartyCmd(CSendStream& SendStream, unsigned long dwPartyID_In, const AddressInfo &AddressInfo_In, const char* szSenderName_In, unsigned long dwSenderID_In, unsigned long dwReceiverID_In, unsigned short usCmd_In, unsigned short usError_In); // ij¸¯ÅÍ ÆÄƼ »ý¼ºÀ» DBAgent·Î º¸³»±â bool SendCharPartyCreateToDBAgent(CSendStream& AgentSendStream, unsigned long dwLeaderID, unsigned long dwMemberID, unsigned char cZone, unsigned short wLeaderClass, char cLeaderLevel, unsigned long dwLeaderGID, unsigned short wMemberClass, char cMemberLevel, unsigned long dwMemberGID); bool SendCharPartyCreateToDBAgent(CSendStream& AgentSendStream, unsigned long dwLeaderID, unsigned long dwMemberID, unsigned short wLeaderClass, char cLeaderLevel, unsigned short wMemberClass, char cMemberLevel); // ij¸¯ÅÍ ÆÄƼ ÆÄ±«¸¦ DBAgent·Î º¸³»±â bool SendCharPartyDestroyToDBAgent(CSendStream& AgentSendStream, unsigned long dwPartyID); // ÆÄƼ ¸â¹ö µ¥ÀÌÅÍ º¸³»±â bool SendPartyMemberData(CSendStream& SendStream, unsigned long dwPartyID, unsigned long dwSenderID, unsigned long dwGID, unsigned short wClass, unsigned long dwServerID, char cLevel, const char* strSenderName, unsigned short usCmd); // --------------------------------------------------------------------------------------------------------------------- // ³ëÁ¡»ó ¾ÆÀÌÅÛ µî·Ï bool SendCharStallRegisterItem(CSendStream& SendStream, unsigned long dwCharID, unsigned long dwShopID, TakeType takeType, unsigned long dwPrice, unsigned char cCmd, unsigned short usError); // ³ëÁ¡»ó ÀÔÀå bool SendCharStallEnter(CSendStream& SendStream, unsigned long dwCustomerID, unsigned long dwOwnerID, unsigned short usError); // ³ëÁ¡»ó ¾ÆÀÌÅÛ Á¤º¸ bool SendCharStallItemInfo(CSendStream& SendStream, unsigned long dwOwnerID, unsigned long* arylCustomerID, unsigned long dwTempSafe, unsigned char cTax, char* szBuffer, unsigned long dwItemSize, unsigned char cItemNum); // --------------------------------------------------------------------------------------------------------------------- // Ä£±¸ µî·Ï/»èÁ¦ ack, °ÅºÎ µî·Ï/»èÁ¦ Ack, Ä£±¸ ·Î±×ÀÎ, Ä£±¸ ·Î±×¾Æ¿ô bool SendCharFriendAck(CSendStream& SendStream, unsigned char cAckCmd, unsigned long dwCID, const char* szFriendName, unsigned long dwGID, unsigned short wClass, char cLevel, unsigned long dwServerID, unsigned short usError); // Ä£±¸ µî·Ï´çÇÔ bool SendCharFriendAdded(CSendStream& SendStream, unsigned long dwCID, const char* szName); // DBAgent¿¡ Ä£±¸ ¸®½ºÆ® º¯°æ»çÇ×À» º¸³¿ (Ä£±¸ µî·Ï/»èÁ¦, °ÅºÎ µî·Ï/»èÁ¦, ±×·ì ¼¼ÆÃ) bool SendFriendListChangeToDB(CSendStream& AgentSendStream, unsigned long dwUID, unsigned long dwCID, unsigned long dwReferenceUID, unsigned long dwReferenceCID, unsigned long dwData, unsigned long dwGID, unsigned short wClass, char cLevel, unsigned long dwServerID, unsigned char cChangeType); // --------------------------------------------------------------------------------------------------------------------- // ±æµå »ý¼º bool SendCharCreateGuild(CSendStream& SendStream, unsigned long dwMasterID, unsigned long dwGuildID, unsigned char cInclination, char* szGuildName, unsigned short wError); // ±æµå ¸â¹ö °ü·Ã ¸í·É bool SendCharGuildCmd(CSendStream& SendStream, unsigned long dwGID, unsigned long dwSenderID, unsigned long dwReceiverID, const char* szGuildName, const char* szSenderName, unsigned short wCmd, unsigned short wError); // ±æµå ¸¶Å© º¯°æ bool SendCharGuildMark(CSendStream& SendStream, unsigned long dwCID, unsigned long dwGID, char* szMark, unsigned long dwGold, unsigned short wError); // ±æµå ·¹º§ º¯°æ bool SendCharGuildLevel(CSendStream& SendStream, unsigned long dwUID, unsigned char cLevel, unsigned long dwGold, unsigned short wError); // ±æµå °ü°è º¯°æ bool SendCharGuildRelation(CSendStream& SendStream, unsigned long dwCID, unsigned long dwGID, unsigned long dwTargetGID, unsigned long dwValue, unsigned char cSubCmd, unsigned short wError, const char* pszGuildName=NULL, const char* pszTempGuildName=NULL); // ±æµå ¼ºÇâ º¯°æ bool SendCharGuildInclination(CSendStream& SendStream, unsigned long dwUID, unsigned char cInclination, unsigned short wError); // ±æµå ±ÇÇÑ ¼³Á¤ bool SendCharGuildRight(CSendStream& SendStream, unsigned long dwGID, GuildRight guildRight, unsigned short wError); // Àڱ⠱æµå Á¤º¸ bool SendCharMyGuildInfo(CSendStream& SendStream, unsigned long dwGold, GuildRight guildRight, unsigned char cTitle, unsigned short wError); // ±æµå ±Ý°í bool SendCharGuildSafe(CSendStream& SendStream, unsigned long dwCID, unsigned long dwGID, unsigned long dwSafeGold, unsigned long dwCharGold, unsigned char cCmd, const char* szCharName, unsigned short wError); // ±æµå ¸â¹ö Á¤º¸ ¾÷µ¥ÀÌÆ® bool SendCharUpdateGuildMemberInfo(CSendStream& SendStream, unsigned long dwGID, unsigned long dwCID, Guild::MemberInfo memberInfo, unsigned short wError); // --------------------------------------------------------------------------------------------------------------------- // äÆÃ ±ÝÁö bool SendCharChatBan(CSendStream& SendStream, unsigned long dwAdminCID, unsigned long dwTargetCID, unsigned long dwMinutes); } #endif