12345678910111213141516171819202122232425262728293031 |
- namespace ET.Server
- {
- /// <summary>
- /// 玩家实体
- /// </summary>
- [ChildOf(typeof (GamePlayerComponent))]
- public class WNPlayer: Entity, IAwake<Session, PlayerInfo>, IDestroy
- {
- /** 游戏服session InstanceId **/
- public long GameSessionActorId { get; set; }
- public Session Session { get; set; }
- /** 职业初始信息配置 **/
- public Character BasicProp { get; set; }
- /** 玩家场景信息 **/
- public Map Map { get; set; }
- /** 阵营 **/
- public int Force { get; set; }
- /** 出生类型 **/
- public int BornType { get; set; }
- public int EnterState { get; set; }
- /** 登录首次进入场景,用于onready,进行一次消息推送(只在登陆时候首次进场景推送)*/
- public bool readyFirst { get; set; }
- }
- }
|