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