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

Allocates faction power deterministically and settles powered passive income. 更多...

#include <RTSSystems.h>

静态 Public 成员函数

static Result< std::size_t > step (const SimulationStep &step, const PassiveIncomeCredit &credit={})
 Recompute power from live completed buildings, then credit integral accrued income.
 

详细描述

Allocates faction power deterministically and settles powered passive income.

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

成员函数说明

◆ step()

Result< std::size_t > eve::rts::InfrastructureSystem::step ( const SimulationStep &  step,
const PassiveIncomeCredit &  credit = {} 
)
static

Recompute power from live completed buildings, then credit integral accrued income.

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

引用了 eve::Applied, cost, eve::Diagnostic::error(), eve::Result< T >::failure(), group, groups, eve::InvalidArgument, left, eve::NoOp, right, eve::resource::CostSpec::single(), step, eve::Status::success(), eve::Result< T >::success() , 以及 view.


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