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

Regenerates unit and building shield projections after their configured damage delay. 更多...

#include <RTSSystems.h>

静态 Public 成员函数

static Result< std::size_t > step (const SimulationStep &step, const LifecycleEventSink &events={})
 Advance cooldowns and clamp deterministic regeneration to capacity.
 

详细描述

Regenerates unit and building shield projections after their configured damage delay.

在文件 RTSSystems.h 第 477 行定义.

成员函数说明

◆ step()

Result< std::size_t > eve::rts::ShieldSystem::step ( const SimulationStep &  step,
const LifecycleEventSink &  events = {} 
)
static

Advance cooldowns and clamp deterministic regeneration to capacity.

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

引用了 alive, eve::Applied, capacity, eve::Diagnostic::error(), events, eve::Result< T >::failure(), eve::InvalidArgument, eve::NoOp, step, subject, eve::Status::success(), eve::Result< T >::success() , 以及 units.


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