载入中...
搜索中...
未找到
eve::rts::IRTSActionExecutor类 参考abstract
Interface isolating RTS orders from the shared action runtime. 更多...
#include <RTSAction.h>
类 eve::rts::IRTSActionExecutor 继承关系图:
Public 成员函数 | |
| virtual | ~IRTSActionExecutor ()=default |
| Releases IRTSActionExecutor resources. | |
| virtual Result< ActionExecutionResult > | execute (Unit &unit, const OrderRecord &order, const SimulationStep &step)=0 |
| Execute or advance one active RTS order. | |
详细描述
Interface isolating RTS orders from the shared action runtime.
Implementations may use any action provider, but they must not copy the action lifecycle or retain a Unit pointer. The unit reference is borrowed for this call only and the injected SimulationStep is the sole time input.
在文件 RTSAction.h 第 38 行定义.
构造及析构函数说明
◆ ~IRTSActionExecutor()
|
virtualdefault |
Releases IRTSActionExecutor resources.
成员函数说明
◆ execute()
|
pure virtual |
Execute or advance one active RTS order.
- 参数
-
unit Unit whose order is being serviced; valid for this call only. order Owning projection of the current generic order. step Deterministic simulation step supplied by the caller.
- 返回
- Pending or Completed, or a structured provider failure.
在 eve::rts::ActionAdapter 内被实现.
被这些函数引用 eve::rts::OrderActionSystem::step().
该类的文档由以下文件生成:
- src/modules/rts/RTSAction.h