GamePlayerComponent.cs 354 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, Player> idPlayers = new Dictionary<long, Player>();
  13. }
  14. }