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

Protected Member Functions

void UpdateCluster (SCR_AIGroupTargetCluster c, SCR_AITargetClusterState s, float deltaTime_ms)
EAITargetClusterState EvaluateNewDesiredState (SCR_AITargetClusterState s)
void OnLeaveState (SCR_AITargetClusterState s, EAITargetClusterState oldState)
void OnEnterState (SCR_AITargetClusterState s, EAITargetClusterState newState)
void SwitchToState (SCR_AITargetClusterState s, EAITargetClusterState newState)
void AssignActivity (notnull SCR_AITargetClusterState s, notnull SCR_AIActivityBase activity)
void UnassignActivity (SCR_AITargetClusterState s)
bool HasActivityForState (SCR_AITargetClusterState s, EAITargetClusterState eState)
SCR_AIActivityBase TryCreateActivityForState (SCR_AITargetClusterState s, EAITargetClusterState estate, notnull TFireteamLockRefArray inFtsMain, notnull TFireteamLockRefArray inFtsAux)
void AllocateMoreFireteams (SCR_AITargetClusterState s, notnull TFireteamLockRefArray inOutFtLocksMain, notnull TFireteamLockRefArray ftLocksAux)
void GetAssignedFireteams (notnull SCR_AIFireteamsActivity fromActivity, notnull TFireteamLockRefArray outMainFireteams, notnull TFireteamLockRefArray outAuxFireteams)
 Returns arrays with fireteams already assigned to this cluster, if there are any. Otherwise returns empty arrays.
float CalculateMaxAgeThreshold_s (SCR_AITargetClusterState s, EAITargetClusterState newState)
 Calculates how long we should investigate this target cluster.
void SCR_AIGroupTargetClusterProcessor (SCR_AIGroupUtilityComponent utility)

Protected Attributes

const float INITIAL_DECISION_DELAY_MS = 5000.0
const float MAX_CLUSTER_AGE_S = 120.0
SCR_AIGroupUtilityComponent m_Utility
ref ScriptInvokerBase< SCR_AITargetClusterStateChangedm_OnClusterStateChanged = new ScriptInvokerBase<SCR_AITargetClusterStateChanged>()

Detailed Description

Definition at line 6 of file SCR_AIGroupTargetClusterProcessor.c.

Constructor & Destructor Documentation

◆ SCR_AIGroupTargetClusterProcessor()

void SCR_AIGroupTargetClusterProcessor::SCR_AIGroupTargetClusterProcessor ( SCR_AIGroupUtilityComponent utility)
inlineprotected

Definition at line 462 of file SCR_AIGroupTargetClusterProcessor.c.

Member Function Documentation

◆ AllocateMoreFireteams()

void SCR_AIGroupTargetClusterProcessor::AllocateMoreFireteams ( SCR_AITargetClusterState s,
notnull TFireteamLockRefArray inOutFtLocksMain,
notnull TFireteamLockRefArray ftLocksAux )
inlineprotected

Definition at line 384 of file SCR_AIGroupTargetClusterProcessor.c.

◆ AssignActivity()

void SCR_AIGroupTargetClusterProcessor::AssignActivity ( notnull SCR_AITargetClusterState s,
notnull SCR_AIActivityBase activity )
inlineprotected

Definition at line 196 of file SCR_AIGroupTargetClusterProcessor.c.

◆ CalculateMaxAgeThreshold_s()

float SCR_AIGroupTargetClusterProcessor::CalculateMaxAgeThreshold_s ( SCR_AITargetClusterState s,
EAITargetClusterState newState )
inlineprotected

Calculates how long we should investigate this target cluster.

Definition at line 437 of file SCR_AIGroupTargetClusterProcessor.c.

◆ EvaluateNewDesiredState()

EAITargetClusterState SCR_AIGroupTargetClusterProcessor::EvaluateNewDesiredState ( SCR_AITargetClusterState s)
inlineprotected

Definition at line 134 of file SCR_AIGroupTargetClusterProcessor.c.

◆ GetAssignedFireteams()

void SCR_AIGroupTargetClusterProcessor::GetAssignedFireteams ( notnull SCR_AIFireteamsActivity fromActivity,
notnull TFireteamLockRefArray outMainFireteams,
notnull TFireteamLockRefArray outAuxFireteams )
inlineprotected

Returns arrays with fireteams already assigned to this cluster, if there are any. Otherwise returns empty arrays.

Definition at line 413 of file SCR_AIGroupTargetClusterProcessor.c.

◆ HasActivityForState()

bool SCR_AIGroupTargetClusterProcessor::HasActivityForState ( SCR_AITargetClusterState s,
EAITargetClusterState eState )
inlineprotected

Definition at line 230 of file SCR_AIGroupTargetClusterProcessor.c.

◆ OnEnterState()

void SCR_AIGroupTargetClusterProcessor::OnEnterState ( SCR_AITargetClusterState s,
EAITargetClusterState newState )
inlineprotected

Definition at line 179 of file SCR_AIGroupTargetClusterProcessor.c.

◆ OnLeaveState()

void SCR_AIGroupTargetClusterProcessor::OnLeaveState ( SCR_AITargetClusterState s,
EAITargetClusterState oldState )
inlineprotected

Definition at line 175 of file SCR_AIGroupTargetClusterProcessor.c.

◆ SwitchToState()

void SCR_AIGroupTargetClusterProcessor::SwitchToState ( SCR_AITargetClusterState s,
EAITargetClusterState newState )
inlineprotected

Definition at line 185 of file SCR_AIGroupTargetClusterProcessor.c.

◆ TryCreateActivityForState()

SCR_AIActivityBase SCR_AIGroupTargetClusterProcessor::TryCreateActivityForState ( SCR_AITargetClusterState s,
EAITargetClusterState estate,
notnull TFireteamLockRefArray inFtsMain,
notnull TFireteamLockRefArray inFtsAux )
inlineprotected

Definition at line 246 of file SCR_AIGroupTargetClusterProcessor.c.

◆ UnassignActivity()

void SCR_AIGroupTargetClusterProcessor::UnassignActivity ( SCR_AITargetClusterState s)
inlineprotected

Definition at line 214 of file SCR_AIGroupTargetClusterProcessor.c.

◆ UpdateCluster()

void SCR_AIGroupTargetClusterProcessor::UpdateCluster ( SCR_AIGroupTargetCluster c,
SCR_AITargetClusterState s,
float deltaTime_ms )
inlineprotected

Definition at line 19 of file SCR_AIGroupTargetClusterProcessor.c.

Member Data Documentation

◆ INITIAL_DECISION_DELAY_MS

const float SCR_AIGroupTargetClusterProcessor::INITIAL_DECISION_DELAY_MS = 5000.0
protected

Definition at line 8 of file SCR_AIGroupTargetClusterProcessor.c.

◆ m_OnClusterStateChanged

ref ScriptInvokerBase<SCR_AITargetClusterStateChanged> SCR_AIGroupTargetClusterProcessor::m_OnClusterStateChanged = new ScriptInvokerBase<SCR_AITargetClusterStateChanged>()
protected

Definition at line 16 of file SCR_AIGroupTargetClusterProcessor.c.

◆ m_Utility

SCR_AIGroupUtilityComponent SCR_AIGroupTargetClusterProcessor::m_Utility
protected

Definition at line 14 of file SCR_AIGroupTargetClusterProcessor.c.

◆ MAX_CLUSTER_AGE_S

const float SCR_AIGroupTargetClusterProcessor::MAX_CLUSTER_AGE_S = 120.0
protected

Definition at line 12 of file SCR_AIGroupTargetClusterProcessor.c.


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