载入中...
搜索中...
未找到
eve::rts::Match::Rules结构体 参考

Configured victory rule; immutable while the match is running. 更多...

#include <RTSTypes.h>

Public 属性

VictoryRule rule = VictoryRule::Annihilation
 
std::string archetype
 
double targetValue = 0.0
 
Duration timeLimit {}
 Positive duration ends the match; zero keeps an open clock.
 
bool suddenDeath = false
 After timeLimit, keep running until last team stands instead of settling/drawing.
 

详细描述

Configured victory rule; immutable while the match is running.

在文件 RTSTypes.h 第 1489 行定义.

类成员变量说明

◆ archetype

std::string eve::rts::Match::Rules::archetype

在文件 RTSTypes.h 第 1491 行定义.

◆ rule

VictoryRule eve::rts::Match::Rules::rule = VictoryRule::Annihilation

在文件 RTSTypes.h 第 1490 行定义.

◆ suddenDeath

bool eve::rts::Match::Rules::suddenDeath = false

After timeLimit, keep running until last team stands instead of settling/drawing.

备注
Applies to Annihilation and DestroyHeadquarters. Score/resource targets still settle by value.

在文件 RTSTypes.h 第 1499 行定义.

◆ targetValue

double eve::rts::Match::Rules::targetValue = 0.0

在文件 RTSTypes.h 第 1492 行定义.

◆ timeLimit

Duration eve::rts::Match::Rules::timeLimit {}

Positive duration ends the match; zero keeps an open clock.

在文件 RTSTypes.h 第 1494 行定义.


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