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

Resolves same-faction and match-team alliances without duplicating diplomacy state. 更多...

#include <RTSSystems.h>

静态 Public 成员函数

static bool isAllied (Faction *left, Faction *right) noexcept
 Return true when both live factions are identical or share a team in a common Match.
 
static bool isAllied (const FactionLink &left, const FactionLink &right) noexcept
 Resolve generation-checked faction links through the same relationship policy.
 

详细描述

Resolves same-faction and match-team alliances without duplicating diplomacy state.

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

成员函数说明

◆ isAllied() [1/2]

bool eve::rts::FactionRelationSystem::isAllied ( const FactionLink &  left,
const FactionLink &  right 
)
staticnoexcept

Resolve generation-checked faction links through the same relationship policy.

在文件 RTSSystems_Faction.cpp 第 77 行定义.

引用了 left , 以及 right.

◆ isAllied() [2/2]

bool eve::rts::FactionRelationSystem::isAllied ( Faction *  left,
Faction *  right 
)
staticnoexcept

Return true when both live factions are identical or share a team in a common Match.

在文件 RTSSystems_Faction.cpp 第 58 行定义.

引用了 left, right , 以及 eve::rts::Match::Participants::Entry::team.

被这些函数引用 eve::rts::TacticsSystem::step(), eve::rts::AISystem::step(), eve::rts::BuildingProductionSystem::step() , 以及 eve::rts::BuildInfluenceSystem::validate().


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