VerificationCodeRuleComponent.cs 411 B

1234567891011
  1. namespace ET
  2. {
  3. /// <summary>
  4. /// 1.挂载在session上,防止同一个握手里面无限的去获取验证码 2.挂在玩家上
  5. /// </summary>
  6. public class VerificationCodeRuleComponent : Entity, IAwake, IDestroy
  7. {
  8. //下次可以获取验证码的时间节点---一般为60s,当前在这里设置55s,5s作为误差缓冲. 客户端做60s倒计时
  9. public long EndTime;
  10. }
  11. }