mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
17 lines
580 B
C#
17 lines
580 B
C#
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>();
|
|
}
|
|
} |