mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
[+] 接入ET8服务端
[+] 接入ET8服务端
This commit is contained in:
17
Assets/GameScripts/DotNet/Model/Server/Module/AOI/Cell.cs
Normal file
17
Assets/GameScripts/DotNet/Model/Server/Module/AOI/Cell.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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>();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user