using System.Collections.Generic; using MongoDB.Bson.Serialization.Attributes; namespace ET { /// /// 搭配评选赛全局控制组件 /// public class JudgingRoundComponent : Entity, IAwake, IDestroy { //当期搭配评选赛期数编号--每次开启刷新 public int OpenCfgId = 0; //由于策划可能忘记增加数,读取超出索引,即记录最后一期. 之后读取期数的时候,使用这个值来做索引去匹配有无最新值 public int OpenCfgIdErrorProof = 0; //当前的状态----JudgingRoundStatusEnum public int JudgingRoundStatus = 0; //参与的玩家 public List JoinRoleIds = new List(); //集结期开始毫秒级时间戳 public long GatherStartTime = 0; //集结期开始定时器Id [BsonIgnore] public long GatherStartTimeId = 0; //评选期开始毫秒级时间戳 public long SelStartTime = 0; //评选期开始定时器id [BsonIgnore] public long SelStartTimeId = 0; //结算期开始毫秒级时间戳 public long SettlementTime = 0; //结算期开始定时器Id [BsonIgnore] public long SettlementTimeId = 0; [BsonIgnore] public S2C_PushJudgingRoundInfo S2CPushJudgingRoundInfo = new S2C_PushJudgingRoundInfo(); } public enum JudgingRoundStatusEnum { /// /// 大概率首期 /// FirstOpenCfg = 0, /// /// 集结期 /// Gather = 1, /// /// 评选期 /// Sel = 2, /// /// 结算期 /// Settlement = 3 } }