载入中...
搜索中...
未找到
eve::tactics::TurnResourceSpec结构体 参考

Initial and per-round tactical resource values for one unit. 更多...

#include <TacticsTypes.h>

Public 成员函数

Result< void > validate () const
 Validate non-negative consumable resource values.
 

Public 属性

int actionPoints = 0
 
int movePoints = 0
 
int reactionPoints = 0
 
int initiative = 0
 

详细描述

Initial and per-round tactical resource values for one unit.

在文件 TacticsTypes.h 第 139 行定义.

成员函数说明

◆ validate()

Result< void > eve::tactics::TurnResourceSpec::validate ( ) const

Validate non-negative consumable resource values.

在文件 TacticsTypes.cpp 第 194 行定义.

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

类成员变量说明

◆ actionPoints

int eve::tactics::TurnResourceSpec::actionPoints = 0

在文件 TacticsTypes.h 第 140 行定义.

◆ initiative

int eve::tactics::TurnResourceSpec::initiative = 0

在文件 TacticsTypes.h 第 143 行定义.

◆ movePoints

int eve::tactics::TurnResourceSpec::movePoints = 0

在文件 TacticsTypes.h 第 141 行定义.

◆ reactionPoints

int eve::tactics::TurnResourceSpec::reactionPoints = 0

在文件 TacticsTypes.h 第 142 行定义.


该结构体的文档由以下文件生成: