Resolves transport boarding, building garrisoning, and contained-unit synchronization. 更多...
#include <RTSSystems.h>
静态 Public 成员函数 | |
| static Result< std::size_t > | step () |
| Board arrived friendly units and keep occupants attached to their live container. | |
| static Result< std::size_t > | unload (Unit &transport, WorldPosition destination) |
| Unload every live passenger from a transport into deterministic nearby slots. | |
| static Result< std::size_t > | evacuate (Building &building, WorldPosition destination) |
| Evacuate every live garrison occupant and unblock building capture. | |
详细描述
Resolves transport boarding, building garrisoning, and contained-unit synchronization.
在文件 RTSSystems.h 第 444 行定义.
成员函数说明
◆ evacuate()
|
static |
Evacuate every live garrison occupant and unblock building capture.
在文件 RTSSystems.cpp 第 1589 行定义.
引用了 result.
◆ step()
|
static |
Board arrived friendly units and keep occupants attached to their live container.
在文件 RTSSystems.cpp 第 1445 行定义.
引用了 eve::Applied, eve::rts::EntityLink< ContainerLinkTag >::bind(), eve::rts::BoardTransport, capacity, current, EV_PROFILE_MODULE, eve::Result< T >::failure(), eve::rts::Garrison, identity, eve::rts::FactionRelationSystem::isAllied(), left, link, eve::NoOp, owner, position, record, right, eve::Status::success(), eve::Result< T >::success(), target, unit , 以及 units.
◆ unload()
|
static |
Unload every live passenger from a transport into deterministic nearby slots.
在文件 RTSSystems.cpp 第 1585 行定义.
该类的文档由以下文件生成:
- src/modules/rts/RTSSystems.h
- src/modules/rts/RTSSystems.cpp