ConstGame.cs 603 B

1234567891011121314151617181920212223242526272829
  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. }