| 12345678910111213141516171819 |
- using System.Collections.Generic;
- using MongoDB.Bson.Serialization.Attributes;
- using MongoDB.Bson.Serialization.Options;
- namespace ET
- {
- /// <summary>
- /// 挂在 LevelRankComponent 上
- /// </summary>
- public class LevelRankRoleInfo : Entity, IAwake, IDestroy
- {
- //玩家id字符串类型存储--便于日后维护查询mongdb数据
- public string UnitIdStr;
- //关卡id, 玩家最高得分
- [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
- public Dictionary<int, long> LevelScoreDic = new Dictionary<int, long>();
- }
- }
|