ConstValue.cs 587 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. namespace ET
  3. {
  4. /**
  5. * 静态常量值
  6. */
  7. public static class ConstValue
  8. {
  9. /** session过期时间 **/
  10. public const int SessionTimeoutTime = 30 * 1000;
  11. /** 心跳开关 **/
  12. public static int HeartBeatPower = 1;
  13. /** 心跳超时时间 **/
  14. public const int HeartBeatTimeoutTime = 3 * 1000;
  15. }
  16. public enum BattlePushCnst
  17. {
  18. FastStreamPush = 1,
  19. BattleClear
  20. }
  21. public enum BattleNotify
  22. {
  23. ClientIsReady,
  24. StartRefreshMonster,
  25. CameraOk,
  26. }
  27. }