PlayerComponent.cs 289 B

123456789101112
  1. using System.Collections.Generic;
  2. using System.Linq;
  3. namespace ET.Server
  4. {
  5. [ChildType(typeof(Player))]
  6. [ComponentOf(typeof(Scene))]
  7. public class PlayerComponent : Entity, IAwake, IDestroy
  8. {
  9. public readonly Dictionary<long, Player> idPlayers = new Dictionary<long, Player>();
  10. }
  11. }