LeagueTeaPartyComponent.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System.Collections.Generic;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. namespace ET
  4. {
  5. //所有联盟的茶话会组件
  6. public class LeagueTeaPartyComponent : Entity, IAwake, IDestroy
  7. {
  8. //当期茶话会期数编号--每次开启刷新
  9. public int OpenCfgId = 0;
  10. //由于策划可能忘记增加茶会期数,读取超出索引,即记录最后一期. 之后读取期数的时候,使用这个值来做索引去匹配有无最新值
  11. public int OpenCfgIdErrorProof = 0;
  12. //开启时间
  13. public long StartTime = 0;
  14. //开启时间--定时器Id
  15. public long StartTimerId = 0;
  16. //关闭时间
  17. public long CloseTime = 0;
  18. //关闭时间--定时器Id
  19. public long CloseTimerId = 0;
  20. //开启日的结束时间,也就是自动开启挑战的时间
  21. public long StartZeroTime = 0;
  22. //开启日的结束时间,也就是自动开启挑战的时间--定时器Id
  23. public long StartZeroTimeId = 0;
  24. //茶会状态--每次开启刷新 -- 0未开启 1集结中 2已过集结点 GloabTeaPartyStatus
  25. public int Status = 0;
  26. //参与雅集茶会的玩家 且 分数大于最低个人奖励线的玩家ids
  27. public List<long> JoinRoleIds = new List<long>();
  28. //满足最低领奖条件的联盟Ids -- 主要可以过滤掉一些没人参加茶会的联盟,广播派奖的时候就不给这些联盟的玩家派发联盟奖了
  29. public List<long> JoinLeagueIds = new List<long>();
  30. //当期茶会期间被踢出雅集的玩家
  31. public List<long> KickRoleIds = new List<long>();
  32. }
  33. //全局茶会状态
  34. public class GloabTeaPartyStatus
  35. {
  36. public const int NotOpen = 0; // 0未开启
  37. public const int YesOpen = 1; // 1集结中
  38. public const int Over = 2; // 2已过集结点
  39. }
  40. }