载入中...
搜索中...
未找到
eve::rts::OrderActionSystem类 参考
Sends active generic orders to one shared action executor. 更多...
#include <RTSSystems.h>
静态 Public 成员函数 | |
| static Result< std::size_t > | step (const SimulationStep &step, IRTSActionExecutor &executor) |
| Execute/advance active Unit orders and complete them when done. | |
详细描述
Sends active generic orders to one shared action executor.
在文件 RTSSystems.h 第 700 行定义.
成员函数说明
◆ step()
|
static |
Execute/advance active Unit orders and complete them when done.
- 参数
-
step Injected deterministic simulation step. executor Borrowed action adapter; it must outlive this call.
- 返回
- Number of action-bearing units inspected, or a structured failure.
在文件 RTSSystems.cpp 第 4641 行定义.
引用了 action, eve::Applied, current, eve::Diagnostic::error(), eve::rts::IRTSActionExecutor::execute(), eve::Result< T >::failure(), eve::InvalidArgument, step, eve::Status::success(), eve::Result< T >::success(), unit , 以及 view.
该类的文档由以下文件生成:
- src/modules/rts/RTSSystems.h
- src/modules/rts/RTSSystems.cpp