载入中...
搜索中...
未找到
eve::rts::WorkerAssignmentSystem类 参考
Deterministically assigns idle auto-workers to compatible resource nodes. 更多...
#include <RTSSystems.h>
静态 Public 成员函数 | |
| static Result< std::size_t > | step () |
| Assign nearest available nodes and enqueue Gather orders. | |
详细描述
Deterministically assigns idle auto-workers to compatible resource nodes.
在文件 RTSSystems.h 第 351 行定义.
成员函数说明
◆ step()
|
static |
Assign nearest available nodes and enqueue Gather orders.
在文件 RTSSystems.cpp 第 1495 行定义.
引用了 eve::Applied, distance, eve::Result< T >::failure(), handle, eve::rts::CommandSpec::kind, left, node, nodes, eve::NoOp, position, queued, right, eve::Status::success(), eve::Result< T >::success(), eve::rts::CommandSpec::target, eve::rts::CommandSpec::targetEntity, unit , 以及 eve::rts::WorldPosition::x.
该类的文档由以下文件生成:
- src/modules/rts/RTSSystems.h
- src/modules/rts/RTSSystems.cpp