PlayerMapInfo.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. namespace ET.Server
  2. {
  3. /// <summary>
  4. /// 玩家场景信息
  5. /// </summary>
  6. public class PlayerMapInfo: Entity, IAwake
  7. {
  8. public long PlayerId { get; set; }
  9. public bool ready { get; set; }
  10. public bool leave { get; set; }
  11. public bool alive { get; set; }
  12. public int historyMapId { get; set; }
  13. public long historyMapInstanceId { get; set; }
  14. public float historyX { get; set; }
  15. public float historyY { get; set; }
  16. public float historyDirection { get; set; }
  17. public int bornMapId { get; set; }
  18. public long bornMapInstanceId { get; set; }
  19. public float bornX { get; set; }
  20. public float bornY { get; set; }
  21. public int mapId { get; set; }
  22. public long mapInstanceId { get; set; }
  23. public float x { get; set; }
  24. public float y { get; set; }
  25. public float direction { get; set; }
  26. public int hp { get; set; }
  27. public int mp { get; set; }
  28. //记录的最大HP,某些情况进入场景会失败,导致玩家血量从其他场景过来没记录,
  29. public int recMaxHP { get; set; }
  30. }
  31. }