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

Persistent mission objective definition using stable subjects and team ids. 更多...

#include <RTSTypes.h>

Public 属性

std::string id
 
MissionObjectiveKind kind = MissionObjectiveKind::EliminateFaction
 
int beneficiaryTeam = 0
 
SubjectRef targetFaction
 
SubjectRef targetSubject
 
std::string archetype
 
std::string resourceType
 
Duration requiredDuration {}
 
double targetValue = 0.0
 
std::vector< SubjectRef > requiredSubjects
 
bool endsMatch = true
 Completing this objective finishes the match for the beneficiary team.
 
bool failsMatch = true
 Failing this objective finishes the match as a mission failure (winningTeam = -1).
 

详细描述

Persistent mission objective definition using stable subjects and team ids.

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

类成员变量说明

◆ archetype

std::string eve::rts::MissionObjectiveSpec::archetype

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

◆ beneficiaryTeam

int eve::rts::MissionObjectiveSpec::beneficiaryTeam = 0

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

◆ endsMatch

bool eve::rts::MissionObjectiveSpec::endsMatch = true

Completing this objective finishes the match for the beneficiary team.

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

◆ failsMatch

bool eve::rts::MissionObjectiveSpec::failsMatch = true

Failing this objective finishes the match as a mission failure (winningTeam = -1).

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

◆ id

std::string eve::rts::MissionObjectiveSpec::id

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

◆ kind

MissionObjectiveKind eve::rts::MissionObjectiveSpec::kind = MissionObjectiveKind::EliminateFaction

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

◆ requiredDuration

Duration eve::rts::MissionObjectiveSpec::requiredDuration {}

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

◆ requiredSubjects

std::vector<SubjectRef> eve::rts::MissionObjectiveSpec::requiredSubjects

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

被这些函数引用 eve::rts::MatchSystem::addObjective().

◆ resourceType

std::string eve::rts::MissionObjectiveSpec::resourceType

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

◆ targetFaction

SubjectRef eve::rts::MissionObjectiveSpec::targetFaction

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

◆ targetSubject

SubjectRef eve::rts::MissionObjectiveSpec::targetSubject

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

◆ targetValue

double eve::rts::MissionObjectiveSpec::targetValue = 0.0

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


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