#pragma once #ifndef GAMESERVER_SYSTEM_MEMO_H #define GAMESERVER_SYSTEM_MEMO_H // implemented by _NA_20100812_INTEGRATE_SYSTEM_MEMO_DOMINATION #include "PostManager.h" class SystemMemo : public PostManager { public: SystemMemo(); ~SystemMemo(); //-- ¸Þ¸ð º¸³»±â void SendSystemMemo(const BasicSystemMemoInfo* system_memo_info, DWORD memo_info_list_num, eSYSTEM_MEMO_TYPE system_memo_type); //-- ½Ã½ºÅÛ ¸Þ¸ð º¸»ó ¹Þ±â RC::eITEM_RESULT RewardSysMemoItem(Player* player, const MSG_BASE* recv_msg); //-- ½Ã½ºÅÛ ¸Þ¸ð Á¤º¸ º¹»ç void CopySystemMemoInfo(BasicSystemMemoInfo* dest_memo_info, const BasicSystemMemoInfo* source_memo_info); int GetMemoDataToINT(const TCHAR* memo_contents, WORD index); private: //-- Default ½Ã½ºÅÛ ¸Þ¸ð º¸³»±â void SendSysMemoForDefault(const BasicSystemMemoInfo* memo_info, DWORD memo_info_list_num); //-- Áö¿ª Á¡·ÉÀü ½Ã½ºÅÛ ¸Þ¸ð º¸³»±â void SendSysMemoForDomination(const SystemMemoInfoOfDomination* memo_info, DWORD memo_info_list_num); #ifdef _NA_006801_20130814_RENEWAL_RANKINGSYSTEM_MINOR //-- ¿ùµå·©Å· ¼øÀ§±Ç ¾Ë¸² ¸Þ¸ð º¸³»±â void SendSystemMemoOfWorldRanking(const SystemMemoInfoOfWorldRanking* memo_info, DWORD memo_info_list_num); #endif //_NA_006801_20130814_RENEWAL_RANKINGSYSTEM_MINOR //-- ÂÊÁö ³» ¾ÆÀÌÅÛ °ü·Ã Á¤º¸ ¾÷µ¥ÀÌÆ® void UpdateSysMemoRewardItemInfo(MEMOGUID memo_guid, CHARGUID char_guid, bool read_stat, SLOTCODE reward_item_code, ULONGLONG reward_item_num); //-- º¸»ó ¹ÞÁö ¸øÇÏ´Â ºÎºÐ ·Ñ¹é void RollBackSystemMemoRewardItemInfo(MEMOGUID memo_guid, CHARGUID char_guid, SLOTCODE reward_item_code, ULONGLONG reward_item_num); }; #endif //GAMESERVER_SYSTEM_MEMO_H