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:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace ET
|
||||
{
|
||||
public class AIHandlerAttribute: BaseAttribute
|
||||
{
|
||||
}
|
||||
|
||||
[AIHandler]
|
||||
public abstract class AAIHandler
|
||||
{
|
||||
// 检查是否满足条件
|
||||
public abstract int Check(AIComponent aiComponent, AIConfig aiConfig);
|
||||
|
||||
// 协程编写必须可以取消
|
||||
public abstract ETTask Execute(AIComponent aiComponent, AIConfig aiConfig, ETCancellationToken cancellationToken);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user