using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; using ProtoCSStruct; namespace Rank { public class RankDataInfoCache : IServerDataObj { public Dictionary m_curRecordIDMap; //id index map public Dictionary m_needRankIDMap; //id index map public StructMemoryCache m_cacheCurRecord; public StructMemoryCache m_cacheNeedRankData; public RankDataInfoCache(int Count) { m_curRecordIDMap = new Dictionary(); m_needRankIDMap = new Dictionary(); m_cacheCurRecord = new StructMemoryCache(Count + 1); m_cacheNeedRankData = new StructMemoryCache(Count + 1); } public override int GetDataType() { return RankDataObjType.RankInfoCache; } } }