载入中...
搜索中...
未找到
eve::npc_ai::ITaskService类 参考abstract
Owned extension point for navigation, animation, combat and gameplay tasks. @thread All calls are simulation-thread-affine. @reentrancy Implementations must not call back into the owning NpcAiWorld. 更多...
#include <NpcAi.h>
类 eve::npc_ai::ITaskService 继承关系图:
Public 成员函数 | |
| virtual | ~ITaskService ()=default |
| Releases ITaskService resources. | |
| virtual Result< void > | start (const TaskContext &context, const TaskSpec &spec, std::string &inOutMemoryJson)=0 |
| Starts . | |
| virtual Result< TaskStatus > | tick (const TaskContext &context, const TaskSpec &spec, std::string &inOutMemoryJson)=0 |
| Tick. | |
| virtual void | stop (const TaskContext &context, const TaskSpec &spec, StopReason reason, std::string_view memoryJson) noexcept=0 |
| Stops . | |
详细描述
Owned extension point for navigation, animation, combat and gameplay tasks. @thread All calls are simulation-thread-affine. @reentrancy Implementations must not call back into the owning NpcAiWorld.
构造及析构函数说明
◆ ~ITaskService()
|
virtualdefault |
Releases ITaskService resources.
成员函数说明
◆ start()
|
pure virtual |
Starts .
◆ stop()
|
pure virtualnoexcept |
Stops .
◆ tick()
|
pure virtual |
Tick.
该类的文档由以下文件生成:
- src/modules/npc_ai/NpcAi.h