using System.Collections.Generic; using MongoDB.Bson.Serialization.Attributes; namespace ET { public class OpenRoleInfosComponent : Entity, IAwake, IDestroy { [BsonIgnore] public long OpenRoleInfoClaerStaleDataTimerId = 0; //通过角色id存储 public Dictionary OpenRolesDic = new Dictionary(); //角色id,从数据再次加载次数 [BsonIgnore] public Dictionary RoleReloadDbCountDic = new Dictionary(); } }