| 1234567891011121314151617181920212223 |
- using System.Collections.Generic;
- using MongoDB.Bson.Serialization.Attributes;
- namespace ET
- {
- public class LevelRankComponent : Entity, IAwake, IDestroy
- {
- public long LevelRankRefreshTime = 0;
- public long LevelRankRefreshTimerId = 0;
- //<关卡id, LevelRankInfo>
- [BsonIgnore] public Dictionary<int, LevelRankInfo> LevelRankInfoDic = new Dictionary<int, LevelRankInfo>();
- //关卡排行榜全部的玩家信息
- [BsonIgnore]
- public Dictionary<long, LevelRankRoleInfo> LevelRankRoleInfoDic = new Dictionary<long, LevelRankRoleInfo>();
- //用来每5分钟更新的排行榜数据,只有100条
- [BsonIgnore] public Dictionary<int, HashSet<LevelRankProto>> QueryRankInfoDic =
- new Dictionary<int, HashSet<LevelRankProto>>();
- }
- }
|