123456789101112131415161718192021222324252627282930313233343536 |
- using System.Collections.Generic;
- namespace ET.Server
- {
- [ComponentOf(typeof(Room))]
- public class HGHHMainCheckerComponent: Entity, IAwake, IDestroy, IUpdate
- {
- /** 检测标记 **/
- public bool Flag { get; set; }
- /** 时间秒数 **/
- public int Time { get; set; }
- /** 房间状态 [0等待 1开局 2进行中 3已结束] **/
- public int State { get; set; }
- /** 座位上的玩家 **/
- public Player[] Players { get; set; }
- /** 当前局数 **/
- public int CurrentRound { get; set; }
- /** 庄家位置 0东 1南 2西 3北 **/
- public int ZhuangPos { get; set; }
- /** 骰子 **/
- public int[] Rand { get; set; }
- /** 当前操作玩家 **/
- public Player CurrentPlayer { get; set; }
- /** 当前打出的牌 **/
- public int DisCard { get; set; }
- /** 当前出牌玩家 **/
- public Player DisCardPlayer { get; set; }
- /** 当前摸的牌 **/
- public int DrawCard { get; set; }
- /** 当前摸牌玩家 **/
- public Player DrawCardPlayer { get; set; }
- /** 牌库 **/
- public List<int> CardList { get; set; }
- }
- }
|