WNPlayer.cs 865 B

12345678910111213141516171819202122232425262728293031
  1. namespace ET.Server
  2. {
  3. /// <summary>
  4. /// 玩家实体
  5. /// </summary>
  6. [ChildOf(typeof (GamePlayerComponent))]
  7. public class WNPlayer: Entity, IAwake<Session, PlayerInfo>, IDestroy
  8. {
  9. /** 游戏服session InstanceId **/
  10. public long GameSessionActorId { get; set; }
  11. public Session Session { get; set; }
  12. /** 职业初始信息配置 **/
  13. public Character BasicProp { get; set; }
  14. /** 玩家场景信息 **/
  15. public Map Map { get; set; }
  16. /** 阵营 **/
  17. public int Force { get; set; }
  18. /** 出生类型 **/
  19. public int BornType { get; set; }
  20. public int EnterState { get; set; }
  21. /** 登录首次进入场景,用于onready,进行一次消息推送(只在登陆时候首次进场景推送)*/
  22. public bool readyFirst { get; set; }
  23. }
  24. }