HGHHMainCheckerComponent.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections.Generic;
  2. namespace ET.Server
  3. {
  4. [ComponentOf(typeof(Room))]
  5. public class HGHHMainCheckerComponent: Entity, IAwake, IDestroy, IUpdate
  6. {
  7. /** 检测标记 **/
  8. public bool Flag { get; set; }
  9. /** 时间秒数 **/
  10. public int Time { get; set; }
  11. /** 房间状态 [0等待 1开局 2进行中 3已结束] **/
  12. public int State { get; set; }
  13. /** 座位上的玩家 **/
  14. public Player[] Players { get; set; }
  15. /** 当前局数 **/
  16. public int CurrentRound { get; set; }
  17. /** 庄家位置 0东 1南 2西 3北 **/
  18. public int ZhuangPos { get; set; }
  19. /** 骰子 **/
  20. public int[] Rand { get; set; }
  21. /** 当前操作玩家 **/
  22. public Player CurrentPlayer { get; set; }
  23. /** 当前打出的牌 **/
  24. public int DisCard { get; set; }
  25. /** 当前出牌玩家 **/
  26. public Player DisCardPlayer { get; set; }
  27. /** 当前摸的牌 **/
  28. public int DrawCard { get; set; }
  29. /** 当前摸牌玩家 **/
  30. public Player DrawCardPlayer { get; set; }
  31. /** 牌库 **/
  32. public List<int> CardList { get; set; }
  33. }
  34. }