载入中...
搜索中...
未找到
eve::rts::FireSupportSystem类 参考

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 第 547 行定义.

成员函数说明

◆ cancel()

Result< std::size_t > eve::rts::FireSupportSystem::cancel ( Unit &  requester)
static

Cancel suppression orders previously assigned for this requester.

在文件 RTSSystems.cpp 第 3464 行定义.

引用了 eve::Applied, current, eve::Result< T >::failure(), eve::NoOp, eve::Status::success(), eve::Result< T >::success() , 以及 view.

◆ request()

Result< std::size_t > eve::rts::FireSupportSystem::request ( Unit &  requester,
WorldPosition  center,
float  radius,
int  shotsPerResponder,
std::size_t  maxResponders = 0 
)
static

◆ step()

Result< std::size_t > eve::rts::FireSupportSystem::step ( const SimulationStep &  step)
static

Remove stale support requests and assign exposed hostile indirect-fire positions.

在文件 RTSSystems.cpp 第 3486 行定义.

引用了 handle, position , 以及 step.


该类的文档由以下文件生成: