1234567891011121314151617 |
- using System.Collections.Generic;
- namespace ET.Server
- {
- [ChildOf(typeof(AOIManagerComponent))]
- public class Cell: Entity, IAwake, IDestroy
- {
- // 处在这个cell的单位
- public Dictionary<long, AOIEntity> AOIUnits = new Dictionary<long, AOIEntity>();
- // 订阅了这个Cell的进入事件
- public Dictionary<long, AOIEntity> SubsEnterEntities = new Dictionary<long, AOIEntity>();
- // 订阅了这个Cell的退出事件
- public Dictionary<long, AOIEntity> SubsLeaveEntities = new Dictionary<long, AOIEntity>();
- }
- }
|