Assigns indirect-fire responders and automatic counter-battery ground attacks. 更多...
#include <RTSSystems.h>
静态 Public 成员函数 | |
| static Result< std::size_t > | request (Unit &requester, WorldPosition center, float radius, int shotsPerResponder, std::size_t maxResponders=0) |
| Assign nearest eligible friendly artillery to a deterministic suppression corridor. | |
| static Result< std::size_t > | cancel (Unit &requester) |
| Cancel suppression orders previously assigned for this requester. | |
| static Result< std::size_t > | step (const SimulationStep &step) |
| Remove stale support requests and assign exposed hostile indirect-fire positions. | |
详细描述
Assigns indirect-fire responders and automatic counter-battery ground attacks.
在文件 RTSSystems.h 第 588 行定义.
成员函数说明
◆ cancel()
Cancel suppression orders previously assigned for this requester.
在文件 RTSSystems.cpp 第 2907 行定义.
引用了 eve::Applied, cancelled, current, eve::Result< T >::failure(), identity, eve::NoOp, record, eve::Status::success(), eve::Result< T >::success() , 以及 view.
◆ request()
|
static |
Assign nearest eligible friendly artillery to a deterministic suppression corridor.
在文件 RTSSystems.cpp 第 2851 行定义.
引用了 eve::Applied, candidates, center, current, distance, dx, dy, eve::Diagnostic::error(), eve::Result< T >::failure(), id, identity, eve::InvalidArgument, eve::rts::CommandSpec::kind, lateral, left, length, eve::NoOp, radius, eve::rts::CommandSpec::radius, record, right, eve::rts::CommandSpec::secondaryTarget, eve::Status::success(), eve::Result< T >::success(), eve::rts::CommandSpec::target, unit, view , 以及 eve::rts::WorldPosition::x.
◆ step()
|
static |
Remove stale support requests and assign exposed hostile indirect-fire positions.
在文件 RTSSystems.cpp 第 2929 行定义.
引用了 EV_PROFILE_MODULE, handle, identity, position , 以及 step.
该类的文档由以下文件生成:
- src/modules/rts/RTSSystems.h
- src/modules/rts/RTSSystems.cpp