PlayerDataComponent.cs 317 B

12345678910111213
  1. namespace ET.Server
  2. {
  3. [ComponentOf(typeof (WNPlayer))]
  4. public class PlayerDataComponent: Entity, IAwake<PlayerInfo, WNPlayer>, IDestroy
  5. {
  6. /** 玩家基础数据 **/
  7. public PlayerInfo Data { get; set; }
  8. /** 玩家对象 **/
  9. public WNPlayer Player { get; set; }
  10. }
  11. }