PlayerMapInfo.cs 1004 B

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