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

Go to the source code of this file.

Data Structures

class  SCR_CampaignMobileAssemblyStandaloneComponentClass
 

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)
 
void OnIconHovered (SCR_CampaignMapUIBase icon, bool hovering)
 
void ColorMapLink (notnull MapLink link)
 
protected void HandleMapLinks (bool onDelete=false)
 
void AddMapLink (notnull MapLink link)
 
protected bool IsProxy ()
 
void SetVehicle (IEntity vehicle)
 
IEntity GetVehicle ()
 
void SetParentFactionID (int factionID)
 
void OnParentFactionIDSet ()
 
int GetParentFactionID ()
 
SCR_CampaignFaction GetParentFaction ()
 
SCR_CampaignFaction GetFaction ()
 
int GetBasesInRange (notnull out array< SCR_CampaignMilitaryBaseComponent > basesInRange)
 
void SetRadioRange (int range)
 
int GetRadioRange ()
 
void OnFactionChanged ()
 
bool IsInRadioRange ()
 
MapItem GetMapItem ()
 
void SetCountOfExclusivelyLinkedBases (int count)
 
int GetCountOfExclusivelyLinkedBases ()
 
void UpdateRadioCoverage ()
 
void UpdateRespawnCooldown (Widget w=null)
 

Variables

SCR_CampaignMobileAssemblyStandaloneComponentClass s_OnSpawnPointOwnerChanged = new ScriptInvokerVoid()
 
protected RplComponent m_RplComponent
 
protected MapItem m_MapItem
 
protected IEntity m_Vehicle
 
protected SCR_CampaignFaction m_ParentFaction
 
protected SCR_CampaignFaction m_Faction
 
protected bool m_bIsInRadioRange
 
protected bool m_bCooldownDone = true
 
protected bool m_bIsHovered
 
protected ref array< MapLinkm_aMapLinks = {}
 
protected ref array< SCR_CampaignMilitaryBaseComponentm_aBasesInRadioRange = {}
 
protected ref array< SCR_CampaignMilitaryBaseComponentm_aBasesInRadioRangeOld = {}
 
protected int m_iFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
 
protected int m_iParentFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
 
protected WorldTimestamp m_fRespawnAvailableSince
 
protected int m_iBasesCoveredByMHQOnly
 
protected int m_iRadioRange
 

Function Documentation

◆ AddMapLink()

void AddMapLink ( notnull MapLink  link)
Parameters
[in]link

Definition at line 241 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ CanReachByRadio()

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

Definition at line 144 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ ColorMapLink()

void ColorMapLink ( notnull MapLink  link)
Parameters
[in]link

Definition at line 168 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetBasesInRange()

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

Definition at line 359 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetCountOfExclusivelyLinkedBases()

int GetCountOfExclusivelyLinkedBases ( )
Returns

Definition at line 423 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetFaction()

SCR_CampaignFaction GetFaction ( )
Returns

Definition at line 351 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetMapItem()

MapItem GetMapItem ( )
Returns

Definition at line 408 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetParentFaction()

SCR_CampaignFaction GetParentFaction ( )
Returns

Definition at line 344 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetParentFactionID()

int GetParentFactionID ( )
Returns

Definition at line 337 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetRadioRange()

int GetRadioRange ( )
Returns

Definition at line 373 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetVehicle()

IEntity GetVehicle ( )
Returns

Definition at line 261 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ HandleMapLinks()

protected void HandleMapLinks ( bool  onDelete = false)

◆ IsInRadioRange()

bool IsInRadioRange ( )
Returns

Definition at line 401 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ IsProxy()

protected bool IsProxy ( )

◆ OnFactionChanged()

void OnFactionChanged ( )

◆ OnIconHovered()

void OnIconHovered ( SCR_CampaignMapUIBase  icon,
bool  hovering 
)
Parameters
[in]icon
[in]hovering

Definition at line 152 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ OnParentFactionIDSet()

void OnParentFactionIDSet ( )

◆ SetCountOfExclusivelyLinkedBases()

void SetCountOfExclusivelyLinkedBases ( int  count)
Parameters
[in]count

Definition at line 415 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ SetParentFactionID()

void SetParentFactionID ( int  factionID)
Parameters
[in]factionID

Definition at line 268 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ SetRadioRange()

void SetRadioRange ( int  range)
Parameters
[in]range

Definition at line 366 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ SetVehicle()

void SetVehicle ( IEntity  vehicle)
Parameters
[in]vehicle

Definition at line 254 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ UpdateBasesInRadioRange()

void UpdateBasesInRadioRange ( )

◆ UpdateRadioCoverage()

void UpdateRadioCoverage ( )

◆ UpdateRespawnCooldown()

void UpdateRespawnCooldown ( Widget  w = null)
Parameters
[in]w

Definition at line 489 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

Variable Documentation

◆ m_aBasesInRadioRange

protected ref array<SCR_CampaignMilitaryBaseComponent> m_aBasesInRadioRange = {}

◆ m_aBasesInRadioRangeOld

protected ref array<SCR_CampaignMilitaryBaseComponent> m_aBasesInRadioRangeOld = {}

◆ m_aMapLinks

protected ref array<MapLink> m_aMapLinks = {}

◆ m_bCooldownDone

protected bool m_bCooldownDone = true

◆ m_bIsHovered

protected bool m_bIsHovered

◆ m_bIsInRadioRange

protected bool m_bIsInRadioRange

◆ m_Faction

protected SCR_CampaignFaction m_Faction

◆ m_fRespawnAvailableSince

protected WorldTimestamp m_fRespawnAvailableSince

◆ m_iBasesCoveredByMHQOnly

protected int m_iBasesCoveredByMHQOnly

◆ m_iFaction

protected int m_iFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX

◆ m_iParentFaction

protected int m_iParentFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX

◆ m_iRadioRange

protected int m_iRadioRange

◆ m_MapItem

protected MapItem m_MapItem

◆ m_ParentFaction

protected SCR_CampaignFaction m_ParentFaction

◆ m_RplComponent

protected RplComponent m_RplComponent

◆ m_Vehicle

protected IEntity m_Vehicle

◆ s_OnSpawnPointOwnerChanged