123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using System.Collections.Generic;
- namespace ET.Server
- {
- [ChildOf(typeof(GamePlayerComponent))]
- public sealed class Player : Entity, IAwake<Session>, 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<Struct.Kezi> KeZi { get; set; }
- /** 玩家可操作动作 吃、碰、杠、胡、过 **/
- public int[] Act { get; set; }
- /** 玩家可操作动作牌列表 **/
- public List<Struct.Kezi> ActInfo { get; set; }
- /** 胡牌堆 **/
- public List<int> HuCards { get; set; }
- }
- }
|