RoleArenaComponent.cs 842 B

12345678910111213141516171819202122232425
  1. using System.Collections.Generic;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. namespace ET
  4. {
  5. // 玩家身上缓存竞技场套装数据
  6. // 登录加到玩家身上,下线移除,套装变化触发
  7. // 玩家卡牌数据,卡牌技能等级变化,物品属性变化,触发组件属性计算缓存,获取属性时触发计算
  8. public class RoleArenaComponent : Entity, IAwake, IDestroy, ITransfer, IDeserialize, IUnitCache
  9. {
  10. //缓存套装数据
  11. [BsonIgnore] public List<ArenaDressupProto> arenaDressupProto = new List<ArenaDressupProto>();
  12. [BsonIgnore] public List<int> themes = new List<int>(3);
  13. //是否变化过
  14. [BsonIgnore] public bool isChangeDress = false;
  15. //当前赛季最高段位
  16. public int HighGrade = 1;
  17. public int SeasonId = 0;
  18. }
  19. }