Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FactionControlTriggerEntity Class Reference
Inheritance diagram for SCR_FactionControlTriggerEntity:

Protected Member Functions

void AddIgnoredFactionKeys (notnull array< FactionKey > ignoredFactionKeys)
void GetSideCounts (out int outFriendlyCount, out int outEnemyCount)
override bool ScriptedEntityFilterForQuery (IEntity ent)
void OnQueryFinished (bool bIsEmpty)

Protected Attributes

int m_iRatioMethod
float m_fFriendlyRatioLimit
ref array< FactionKeym_aIgnoredFactionKeys
int m_iFriendlyCount
int m_iEnemyCount
bool m_bResult
bool m_bEvaluateResult

Detailed Description

Definition at line 5 of file SCR_FactionControlTriggerEntity.c.

Member Function Documentation

◆ AddIgnoredFactionKeys()

void SCR_FactionControlTriggerEntity::AddIgnoredFactionKeys ( notnull array< FactionKey > ignoredFactionKeys)
inlineprotected
Parameters
[in]ignoredFactionKeysthat will be added to the ignored array

Definition at line 22 of file SCR_FactionControlTriggerEntity.c.

◆ GetSideCounts()

void SCR_FactionControlTriggerEntity::GetSideCounts ( out int outFriendlyCount,
out int outEnemyCount )
inlineprotected

Get number of entities inside trigger for each side

Parameters
[out]outFriendlyCountNumber of friendlies
[out]outEnemyCountNumber of enemies

Definition at line 36 of file SCR_FactionControlTriggerEntity.c.

◆ OnQueryFinished()

void SCR_FactionControlTriggerEntity::OnQueryFinished ( bool bIsEmpty)
inlineprotected

Definition at line 100 of file SCR_FactionControlTriggerEntity.c.

◆ ScriptedEntityFilterForQuery()

override bool SCR_FactionControlTriggerEntity::ScriptedEntityFilterForQuery ( IEntity ent)
inlineprotected

Definition at line 54 of file SCR_FactionControlTriggerEntity.c.

Member Data Documentation

◆ m_aIgnoredFactionKeys

ref array<FactionKey> SCR_FactionControlTriggerEntity::m_aIgnoredFactionKeys
protected

Definition at line 14 of file SCR_FactionControlTriggerEntity.c.

◆ m_bEvaluateResult

bool SCR_FactionControlTriggerEntity::m_bEvaluateResult
protected

Definition at line 18 of file SCR_FactionControlTriggerEntity.c.

◆ m_bResult

bool SCR_FactionControlTriggerEntity::m_bResult
protected

Definition at line 17 of file SCR_FactionControlTriggerEntity.c.

◆ m_fFriendlyRatioLimit

float SCR_FactionControlTriggerEntity::m_fFriendlyRatioLimit
protected

Definition at line 11 of file SCR_FactionControlTriggerEntity.c.

◆ m_iEnemyCount

int SCR_FactionControlTriggerEntity::m_iEnemyCount
protected

Definition at line 16 of file SCR_FactionControlTriggerEntity.c.

◆ m_iFriendlyCount

int SCR_FactionControlTriggerEntity::m_iFriendlyCount
protected

Definition at line 16 of file SCR_FactionControlTriggerEntity.c.

◆ m_iRatioMethod

int SCR_FactionControlTriggerEntity::m_iRatioMethod
protected

Definition at line 8 of file SCR_FactionControlTriggerEntity.c.


The documentation for this class was generated from the following file: