using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ProtoCSStruct; using Sog; namespace World { public class WorldRankDataRecord : Sog.Data.DataSeqSave { public int RankId; public long BeginTime; public Dictionary RankDict = new Dictionary(); //数据版本号,给客户端查询使用 public int RankDataVersion; } public class WorldRankDataOne { public WorldRankDataRecord LastRecord; public WorldRankDataRecord CurRecord; public long CurRecordMinScore; //排行榜上最小分数,大于这个的下次tick需要进行排行 public Dictionary NeedRankPlayers = new Dictionary(); } public class WorldRankData : IServerDataObj { public override int GetDataType() { return WorldDataObjType.WorldRankData; } public bool IsLoadDbDataSuccess; public Dictionary AllRank = new Dictionary(); } }