PlayerTempDataComponent.cs 467 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. namespace ET.Server
  3. {
  4. [ComponentOf(typeof (WNPlayer))]
  5. public class PlayerTempDataComponent: Entity, IAwake<WNPlayer>, IDestroy
  6. {
  7. /** 玩家场景数据 **/
  8. public PlayerMapInfo MapData { get; set; }
  9. /** 战斗服数据 **/
  10. public Dictionary<string, object> ToJson4BattleServerTempData { get; set; }
  11. /** 玩家对象 **/
  12. public WNPlayer Player { get; set; }
  13. }
  14. }