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

RTS executor for morale, suppression and production-lock semantics. 更多...

#include <RTSEffects.h>

Public 成员函数

eve::Result< void > validate (const RTSEffectTarget &target) const
 Validate the target state before a staged application.
 
eve::Result< void > applyImmediate (RTSEffectTarget &target, const effects::EffectInstance &effect) const
 Apply immediate production-lock semantics to a staged target.
 
eve::Result< RTSEffectUpdate > settle (RTSEffectTarget &target, effects::EffectUpdateSummary lifecycle) const
 Settle common periodic triggers using RTS-specific policies.
 

详细描述

RTS executor for morale, suppression and production-lock semantics.

在文件 RTSEffects.h 第 64 行定义.

成员函数说明

◆ applyImmediate()

eve::Result< void > eve::rts::RTSEffectExecutor::applyImmediate ( RTSEffectTarget &  target,
const effects::EffectInstance &  effect 
) const

Apply immediate production-lock semantics to a staged target.

在文件 RTSEffects.cpp 第 29 行定义.

引用了 eve::Applied, effect, eve::Status::success(), eve::Result< T >::success(), target, valid , 以及 validate().

被这些函数引用 eve::rts::RTSEffectAdapter::apply().

◆ settle()

◆ validate()

eve::Result< void > eve::rts::RTSEffectExecutor::validate ( const RTSEffectTarget &  target) const

Validate the target state before a staged application.

在文件 RTSEffects.cpp 第 22 行定义.

引用了 eve::Applied, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, eve::Status::success(), eve::Result< T >::success() , 以及 target.

被这些函数引用 applyImmediate(), eve::rts::RTSEffectAdapter::restore() , 以及 settle().


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