GamePlayerComponent.cs 386 B

123456789101112131415
  1. using System.Collections.Generic;
  2. using System.Linq;
  3. namespace ET.Server
  4. {
  5. /// <summary>
  6. /// 在线玩家组件
  7. /// </summary>
  8. [ComponentOf(typeof (Scene))]
  9. public class GamePlayerComponent: Entity, IAwake, IDestroy
  10. {
  11. /** 在线玩家集合 **/
  12. public readonly Dictionary<long, WNPlayer> idPlayers = new Dictionary<long, WNPlayer>();
  13. }
  14. }