#pragma once class CDNEffectItem; class CDNEffectRepository:public TBoostMemoryPool { public: CDNEffectRepository( CDNUserSession* pSession ); ~CDNEffectRepository(); bool Add( INT64 biItemSerial, int iItemID, __time64_t tExpireDate = 0 ); bool Remove( INT64 biItemSerial ); #if defined (PRE_ADD_VIP_FARM) void SendEffectItem(); bool bIsExpiredItem( int iItemType ); #endif // #if defined (PRE_ADD_VIP_FARM) void DelGuildRewardItem(); // ±æµåº¸»ó È¿°ú ¾ÆÀÌÅÛ »èÁ¦ #if defined( PRE_ADD_BESTFRIEND ) void DelEffectItemType( char cType ); // ÀÌ¹Ì µðºñ¿¡¼­´Â »èÁ¦µÈ »óÅÂÀ̹ǷΠ¸Þ¸ð¸®¿¡¼­¸¸ »èÁ¦ÇÏ´Â ÇÔ¼ö #endif private: CDNUserSession* m_pSession; std::map m_mRepository; };