Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignMobileAssemblyComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_CampaignMobileAssemblyComponentClass
 

Enumerations

enum  SCR_EMobileAssemblyStatus { DEPLOYED, DISMANTLED, DESTROYED }
 

Functions

override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 
override void OnDelete (IEntity owner)
 
void UpdateBasesInRadioRange ()
 
bool CanReachByRadio (notnull SCR_CampaignMilitaryBaseComponent base)
 
protected bool IsProxy ()
 
void SetParentFactionID (int factionID)
 
void OnParentFactionIDSet ()
 
int GetParentFactionID ()
 
SCR_CampaignFaction GetParentFaction ()
 
int GetBasesInRange (notnull out array< SCR_CampaignMilitaryBaseComponent > basesInRange)
 
int GetRadioRange ()
 
bool Deploy (SCR_EMobileAssemblyStatus status, int playerId=0)
 
void OnDeployChanged ()
 
void CheckStatus ()
 
void OnSpawnpointCreated ()
 
void RegisterSpawnpoint ()
 
SCR_SpawnPoint GetSpawnPoint ()
 
SCR_CampaignMobileAssemblyStandaloneComponent GetStandaloneComponent ()
 
bool IsDeployed ()
 
bool IsInRadioRange ()
 
void UpdateRadioCoverage ()
 
void CreateSpawnpoint ()
 
void ~SCR_CampaignMobileAssemblyComponent ()
 

Variables

SCR_CampaignMobileAssemblyComponentClass MAX_WATER_DEPTH = 2.5
 
protected RplComponent m_RplComponent
 
protected SCR_CampaignFaction m_ParentFaction
 
protected bool m_bIsInRadioRange
 
protected ref array< SCR_CampaignMilitaryBaseComponentm_aBasesInRadioRange = {}
 
protected ref array< SCR_CampaignMilitaryBaseComponentm_aBasesInRadioRangeOld = {}
 
protected SCR_SpawnPoint m_SpawnPoint
 
protected SCR_CampaignMobileAssemblyStandaloneComponent m_StandaloneComponent
 
protected int m_iParentFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
 
protected int m_iSpawnpointId = RplId.Invalid()
 
protected bool m_bIsDeployed
 

Enumeration Type Documentation

◆ SCR_EMobileAssemblyStatus

Enumerator
DEPLOYED 
DISMANTLED 
DESTROYED 

Definition at line 437 of file SCR_CampaignMobileAssemblyComponent.c.

Function Documentation

◆ CanReachByRadio()

bool CanReachByRadio ( notnull SCR_CampaignMilitaryBaseComponent  base)
Parameters
[in]base
Returns

Definition at line 113 of file SCR_CampaignMobileAssemblyComponent.c.

◆ CheckStatus()

void CheckStatus ( )

Definition at line 282 of file SCR_CampaignMobileAssemblyComponent.c.

◆ CreateSpawnpoint()

void CreateSpawnpoint ( )

Definition at line 384 of file SCR_CampaignMobileAssemblyComponent.c.

◆ Deploy()

bool Deploy ( SCR_EMobileAssemblyStatus  status,
int  playerId = 0 
)
Parameters
[in]status
[in]playerId
Returns

Definition at line 195 of file SCR_CampaignMobileAssemblyComponent.c.

◆ GetBasesInRange()

int GetBasesInRange ( notnull out array< SCR_CampaignMilitaryBaseComponent basesInRange)
Parameters
[out]basesInRange
Returns

Definition at line 163 of file SCR_CampaignMobileAssemblyComponent.c.

◆ GetParentFaction()

SCR_CampaignFaction GetParentFaction ( )
Returns

Definition at line 155 of file SCR_CampaignMobileAssemblyComponent.c.

◆ GetParentFactionID()

int GetParentFactionID ( )
Returns

Definition at line 148 of file SCR_CampaignMobileAssemblyComponent.c.

◆ GetRadioRange()

int GetRadioRange ( )
Returns

Definition at line 170 of file SCR_CampaignMobileAssemblyComponent.c.

◆ GetSpawnPoint()

SCR_SpawnPoint GetSpawnPoint ( )
Returns

Definition at line 344 of file SCR_CampaignMobileAssemblyComponent.c.

◆ GetStandaloneComponent()

SCR_CampaignMobileAssemblyStandaloneComponent GetStandaloneComponent ( )
Returns

Definition at line 351 of file SCR_CampaignMobileAssemblyComponent.c.

◆ IsDeployed()

bool IsDeployed ( )
Returns

Definition at line 358 of file SCR_CampaignMobileAssemblyComponent.c.

◆ IsInRadioRange()

bool IsInRadioRange ( )
Returns

Definition at line 365 of file SCR_CampaignMobileAssemblyComponent.c.

◆ IsProxy()

protected bool IsProxy ( )

Definition at line 119 of file SCR_CampaignMobileAssemblyComponent.c.

◆ OnDeployChanged()

void OnDeployChanged ( )

Definition at line 234 of file SCR_CampaignMobileAssemblyComponent.c.

◆ OnParentFactionIDSet()

void OnParentFactionIDSet ( )

Definition at line 134 of file SCR_CampaignMobileAssemblyComponent.c.

◆ OnSpawnpointCreated()

void OnSpawnpointCreated ( )

Definition at line 320 of file SCR_CampaignMobileAssemblyComponent.c.

◆ RegisterSpawnpoint()

void RegisterSpawnpoint ( )

Definition at line 328 of file SCR_CampaignMobileAssemblyComponent.c.

◆ SetParentFactionID()

void SetParentFactionID ( int  factionID)
Parameters
[in]factionID

Definition at line 126 of file SCR_CampaignMobileAssemblyComponent.c.

◆ UpdateBasesInRadioRange()

void UpdateBasesInRadioRange ( )

Definition at line 83 of file SCR_CampaignMobileAssemblyComponent.c.

◆ UpdateRadioCoverage()

void UpdateRadioCoverage ( )

Definition at line 372 of file SCR_CampaignMobileAssemblyComponent.c.

◆ ~SCR_CampaignMobileAssemblyComponent()

void ~SCR_CampaignMobileAssemblyComponent ( )

Definition at line 422 of file SCR_CampaignMobileAssemblyComponent.c.

Variable Documentation

◆ m_aBasesInRadioRange

protected ref array<SCR_CampaignMilitaryBaseComponent> m_aBasesInRadioRange = {}

Definition at line 25 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_aBasesInRadioRangeOld

protected ref array<SCR_CampaignMilitaryBaseComponent> m_aBasesInRadioRangeOld = {}

Definition at line 26 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_bIsDeployed

protected bool m_bIsDeployed

Definition at line 39 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_bIsInRadioRange

protected bool m_bIsInRadioRange

Definition at line 23 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_iParentFaction

protected int m_iParentFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX

Definition at line 33 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_iSpawnpointId

protected int m_iSpawnpointId = RplId.Invalid()

Definition at line 36 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_ParentFaction

protected SCR_CampaignFaction m_ParentFaction

Definition at line 21 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_RplComponent

protected RplComponent m_RplComponent

Definition at line 19 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_SpawnPoint

protected SCR_SpawnPoint m_SpawnPoint

Definition at line 28 of file SCR_CampaignMobileAssemblyComponent.c.

◆ m_StandaloneComponent

protected SCR_CampaignMobileAssemblyStandaloneComponent m_StandaloneComponent

Definition at line 30 of file SCR_CampaignMobileAssemblyComponent.c.

◆ MAX_WATER_DEPTH