using System.Collections.Generic; namespace ET.Server { [ChildOf(typeof(GamePlayerComponent))] public sealed class Player : Entity, IAwake, IDestroy { /** 游戏服session InstanceId **/ public long GameSessionActorId { get; set; } /** 玩家session **/ public Session Session { get; set; } /** 账号 **/ public string Account { get; set; } /** 服务器id **/ public int LogicServerId { get; set; } /** 创建时间 **/ public long CreateTime { get; set; } /** 登陆时间 **/ public long LoginTime { get; set; } /** 下线时间 **/ public long LogoutTime { get; set; } /** 在线状态 **/ public bool IsOnline { get; set; } /** 头像 **/ public string AvatarUrl { get; set; } /** 名称 **/ public string Name { get; set; } /** 性别 **/ public int Sex { get; set; } /** 经验 **/ public long Exp { get; set; } /** 等级 **/ public int Level { get; set; } /** 房间号 **/ public int RoomId { get; set; } /** 玩家位置 0东 1南 2西 3北 **/ public int Pos { get; set; } /** 玩家状态 0未准备 1已准备 2游戏中 3结束 **/ public int State { get; set; } /** 是否托管 **/ public bool IsAuto { get; set; } /** 玩家手牌 **/ public int[] RemainCards { get; set; } /** 玩家出牌堆 **/ public int[] DisCards { get; set; } /** 玩家吃碰杠集合 **/ public List KeZi { get; set; } /** 玩家可操作动作 吃、碰、杠、胡、过 **/ public int[] Act { get; set; } /** 玩家可操作动作牌列表 **/ public List ActInfo { get; set; } /** 胡牌堆 **/ public List HuCards { get; set; } /** 玩家出牌次数 **/ public int DiscardCount { get; set; } } }