123456789101112131415 |
- using System.Collections.Generic;
- using System.Linq;
- namespace ET.Server
- {
- /// <summary>
- /// 在线玩家管理组件
- /// </summary>
- [ComponentOf(typeof(Scene))]
- public class GamePlayerComponent : Entity, IAwake, IDestroy
- {
- /** 在线玩家集合 **/
- public readonly Dictionary<long, Player> idPlayers = new Dictionary<long, Player>();
- }
- }
|