Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CampaignMobileAssemblyStandaloneComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_CampaignMobileAssemblyStandaloneComponentClass

Functions

override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)
bool IsProxy ()
void SetVehicle (IEntity vehicle)
IEntity GetVehicle ()
void SetParentFactionID (int factionID)
void OnParentFactionIDSet ()
int GetParentFactionID ()
SCR_CampaignFaction GetParentFaction ()
SCR_CampaignFaction GetFaction ()
void SetRadioRange (int range)
int GetRadioRange ()
void UpdateMapItem ()
void OnFactionChanged ()
bool IsInRadioRange ()
MapItem GetMapItem ()
void UpdateRadioCoverage ()
void UpdateRespawnCooldown (Widget w=null)
void UpdateSuppliesAmount (Widget w=null)

Variables

SCR_CampaignMobileAssemblyStandaloneComponentClass s_OnSpawnPointOwnerChanged = new ScriptInvokerVoid()
RplComponent m_RplComponent
MapItem m_MapItem
IEntity m_Vehicle
SCR_CampaignFaction m_ParentFaction
SCR_CampaignFaction m_Faction
bool m_bIsInRadioRange
bool m_bCooldownDone = true
const EResourceType RESOURCE_TYPE = EResourceType.SUPPLIES
const EResourceGeneratorID RESOURCE_GENERATOR_ID = EResourceGeneratorID.DEFAULT
int m_iFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
int m_iParentFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
WorldTimestamp m_fRespawnAvailableSince
int m_iRadioRange

Function Documentation

◆ GetFaction()

SCR_CampaignFaction GetFaction ( )
protected
Returns

Definition at line 164 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetMapItem()

MapItem GetMapItem ( )
protected
Returns

Definition at line 254 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetParentFaction()

SCR_CampaignFaction GetParentFaction ( )
protected
Returns

Definition at line 157 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetParentFactionID()

int GetParentFactionID ( )
protected
Returns

Definition at line 150 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetRadioRange()

int GetRadioRange ( )
protected
Returns

Definition at line 178 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ GetVehicle()

IEntity GetVehicle ( )
protected
Returns

Definition at line 110 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ IsInRadioRange()

bool IsInRadioRange ( )
protected
Returns

Definition at line 247 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

◆ OnFactionChanged()

void OnFactionChanged ( )
protected

◆ OnParentFactionIDSet()

void OnParentFactionIDSet ( )
protected

◆ SetParentFactionID()

void SetParentFactionID ( int factionID)
protected
Parameters
[in]factionID

Definition at line 117 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ SetRadioRange()

void SetRadioRange ( int range)
protected
Parameters
[in]range

Definition at line 171 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ SetVehicle()

void SetVehicle ( IEntity vehicle)
protected
Parameters
[in]vehicle

Definition at line 103 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ UpdateMapItem()

void UpdateMapItem ( )
protected

◆ UpdateRadioCoverage()

void UpdateRadioCoverage ( )
protected

◆ UpdateRespawnCooldown()

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

Definition at line 306 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

◆ UpdateSuppliesAmount()

void UpdateSuppliesAmount ( Widget w = null)
protected

Sets the value of supplies in widget based on available supplies in Mobile Assembly

Parameters
[in]w

Definition at line 389 of file SCR_CampaignMobileAssemblyStandaloneComponent.c.

Variable Documentation

◆ m_bCooldownDone

bool m_bCooldownDone = true
protected

◆ m_bIsInRadioRange

bool m_bIsInRadioRange
protected

◆ m_Faction

SCR_CampaignFaction m_Faction
protected

◆ m_fRespawnAvailableSince

WorldTimestamp m_fRespawnAvailableSince
protected

◆ m_iFaction

◆ m_iParentFaction

◆ m_iRadioRange

int m_iRadioRange
protected

◆ m_MapItem

MapItem m_MapItem
protected

◆ m_ParentFaction

SCR_CampaignFaction m_ParentFaction
protected

◆ m_RplComponent

RplComponent m_RplComponent
protected

◆ m_Vehicle

IEntity m_Vehicle
protected

◆ RESOURCE_GENERATOR_ID

const EResourceGeneratorID RESOURCE_GENERATOR_ID = EResourceGeneratorID.DEFAULT
protected

◆ RESOURCE_TYPE

const EResourceType RESOURCE_TYPE = EResourceType.SUPPLIES
protected

◆ s_OnSpawnPointOwnerChanged