GameMapComponent.cs 380 B

1234567891011121314
  1. using System.Collections.Generic;
  2. namespace ET.Server
  3. {
  4. /// <summary>
  5. /// 游戏服玩家场景组件
  6. /// </summary>
  7. [ComponentOf(typeof(Scene))]
  8. public class GameMapComponent: Entity, IAwake, IDestroy
  9. {
  10. /** 场景集合 key:instanceId, value:map **/
  11. public readonly Dictionary<long, Map> allMaps = new Dictionary<long, Map>();
  12. }
  13. }