You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
998 B
32 lines
998 B
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<long, long> m_curRecordIDMap; //id index map
|
|
public Dictionary<long, long> m_needRankIDMap; //id index map
|
|
public StructMemoryCache<DBRankOnePlayerStruct> m_cacheCurRecord;
|
|
public StructMemoryCache<DBRankOnePlayerStruct> m_cacheNeedRankData;
|
|
|
|
public RankDataInfoCache(int Count)
|
|
{
|
|
m_curRecordIDMap = new Dictionary<long, long>();
|
|
m_needRankIDMap = new Dictionary<long, long>();
|
|
|
|
m_cacheCurRecord = new StructMemoryCache<DBRankOnePlayerStruct>(Count + 1);
|
|
m_cacheNeedRankData = new StructMemoryCache<DBRankOnePlayerStruct>(Count + 1);
|
|
}
|
|
|
|
public override int GetDataType()
|
|
{
|
|
return RankDataObjType.RankInfoCache;
|
|
}
|
|
|
|
}
|
|
}
|
|
|