#pragma once #ifndef WORLDSERVER_SYSTEM_MEMO_H #define WORLDSERVER_SYSTEM_MEMO_H //WorldSystemMemo.h - ½Ã½ºÅÛ ¸Þ¸ð¿Í °ü·ÃµÈ Ŭ·¹½º // implemented by _NA_20100812_INTEGRATE_SYSTEM_MEMO_DOMINATION namespace ns_world { ; class WorldSystemMemo { public: WorldSystemMemo(); ~WorldSystemMemo(); // NOTE: f110819.5L, added the system memo type acquisition interface static const TCHAR* GetSystemMemoStringByType(const eSYSTEM_MEMO_TYPE memo_type); static bool IsMemoTransaction(ns_world::WorldUser* user); static bool StartMemoTransaction(ns_world::WorldUser* user); static bool EndMemoTransaction(ns_world::WorldUser* user); static bool EnabledMemoListRequest(ns_world::WorldUser* user); void SendSystemMemo(const BasicSystemMemoInfo* system_memo_info, DWORD memo_info_list_num, eSYSTEM_MEMO_TYPE system_memo_type); private: //-- DB·Î ½Ã½ºÅÛ ¸Þ¸ð¸¦ º¸³½´Ù. void SendSystemMemoOfLotto(const SystemMemoInfoOfLotto* memo_info_list, DWORD list_num); void SendSystemMemoToDBProxy(const BasicSystemMemoInfo* memo_info_list, DWORD list_num); }; }; //end of namespace //================================================================================================== inline ns_world::WorldSystemMemo::WorldSystemMemo() { } inline ns_world::WorldSystemMemo::~WorldSystemMemo() { } //================================================================================================== #endif //WORLDSERVER_SYSTEM_MEMO_H