ConstGame.cs 790 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace ET.Server
  5. {
  6. /// <summary>
  7. /// 游戏服静态常量
  8. /// </summary>
  9. public static class ConstGame
  10. {
  11. [StaticField]
  12. public static int GameServerId;
  13. [StaticField]
  14. public static string GameServerUUID = System.Guid.NewGuid().ToString();
  15. }
  16. /// <summary>
  17. /// 房间玩法类型
  18. /// </summary>
  19. public enum RoomType
  20. {
  21. /** 黄冈晃晃 **/
  22. HGHH = 1,
  23. /** 鄂州麻将 **/
  24. EzhouMahjong = 2,
  25. }
  26. /// <summary>
  27. /// 操作类型
  28. /// </summary>
  29. public enum OperationType
  30. {
  31. CHI = 1,
  32. PENG = 2,
  33. GANG = 3,
  34. HU = 4,
  35. GUO = 5,
  36. }
  37. }