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

Typed spelling of the built-in turn-policy ids. 更多...

#include <TacticsTypes.h>

静态 Public 属性

static constexpr std::string_view SideAlternating = kSideAlternatingPolicyId
 
static constexpr std::string_view Initiative = kInitiativePolicyId
 
static constexpr std::string_view ChargeTimeBattle = kChargeTimeBattlePolicyId
 

详细描述

Typed spelling of the built-in turn-policy ids.

These are ids, not an enum. A battle stores the id string and resolves its behaviour from TurnPolicyRegistry, so a project policy is added by registering an ITurnPolicy and needs no change here. The spelling stays stable because persisted payloads, replay commands and scripts carry these exact strings.

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

类成员变量说明

◆ ChargeTimeBattle

constexpr std::string_view eve::tactics::TurnPolicyKind::ChargeTimeBattle = kChargeTimeBattlePolicyId
staticconstexpr

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

◆ Initiative

constexpr std::string_view eve::tactics::TurnPolicyKind::Initiative = kInitiativePolicyId
staticconstexpr

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

◆ SideAlternating

constexpr std::string_view eve::tactics::TurnPolicyKind::SideAlternating = kSideAlternatingPolicyId
staticconstexpr

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


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