Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_CampaignMobileAssemblyStandaloneComponent Interface Reference
Inheritance diagram for SCR_CampaignMobileAssemblyStandaloneComponent:

Public Member Functions

override void OnPostInit (IEntity owner)
 
override void OnDelete (IEntity owner)
 
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 OnFactionChanged ()
 
bool IsInRadioRange ()
 
MapItem GetMapItem ()
 
void UpdateRadioCoverage ()
 
void UpdateRespawnCooldown (Widget w=null)
 
void UpdateSuppliesAmount (Widget w=null)
 Sets the value of supplies in widget based on available supplies in Mobile Assembly.
 

Static Public Attributes

static ref ScriptInvokerVoid s_OnSpawnPointOwnerChanged = new ScriptInvokerVoid()
 
static ref ScriptInvokerVoid s_OnUpdateRespawnCooldown = new ScriptInvokerVoid()
 
static const int RESPAWN_COOLDOWN = 60000
 

Protected Member Functions

bool IsProxy ()
 
void UpdateMapItem ()
 

Protected Attributes

RplComponent m_RplComponent
 
MapItem m_MapItem
 
IEntity m_Vehicle
 
SCR_CampaignFaction m_ParentFaction
 
SCR_CampaignFaction m_Faction
 
bool m_bIsInRadioRange
 
bool m_bCooldownDone = true
 
int m_iFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
 
int m_iParentFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
 
WorldTimestamp m_fRespawnAvailableSince
 
int m_iRadioRange
 

Static Protected Attributes

const EResourceType RESOURCE_TYPE = EResourceType.SUPPLIES
 
const EResourceGeneratorID RESOURCE_GENERATOR_ID = EResourceGeneratorID.DEFAULT
 

Member Function Documentation

◆ GetFaction()

SCR_CampaignFaction SCR_CampaignMobileAssemblyStandaloneComponent.GetFaction ( )
Returns

◆ GetMapItem()

MapItem SCR_CampaignMobileAssemblyStandaloneComponent.GetMapItem ( )
Returns

◆ GetParentFaction()

SCR_CampaignFaction SCR_CampaignMobileAssemblyStandaloneComponent.GetParentFaction ( )
Returns

◆ GetParentFactionID()

int SCR_CampaignMobileAssemblyStandaloneComponent.GetParentFactionID ( )
Returns

◆ GetRadioRange()

int SCR_CampaignMobileAssemblyStandaloneComponent.GetRadioRange ( )
Returns

◆ GetVehicle()

IEntity SCR_CampaignMobileAssemblyStandaloneComponent.GetVehicle ( )
Returns

◆ IsInRadioRange()

bool SCR_CampaignMobileAssemblyStandaloneComponent.IsInRadioRange ( )
Returns

◆ IsProxy()

bool SCR_CampaignMobileAssemblyStandaloneComponent.IsProxy ( )
protected

◆ OnDelete()

override void SCR_CampaignMobileAssemblyStandaloneComponent.OnDelete ( IEntity owner)

◆ OnFactionChanged()

void SCR_CampaignMobileAssemblyStandaloneComponent.OnFactionChanged ( )

◆ OnParentFactionIDSet()

void SCR_CampaignMobileAssemblyStandaloneComponent.OnParentFactionIDSet ( )

◆ OnPostInit()

override void SCR_CampaignMobileAssemblyStandaloneComponent.OnPostInit ( IEntity owner)

◆ SetParentFactionID()

void SCR_CampaignMobileAssemblyStandaloneComponent.SetParentFactionID ( int factionID)
Parameters
[in]factionID

◆ SetRadioRange()

void SCR_CampaignMobileAssemblyStandaloneComponent.SetRadioRange ( int range)
Parameters
[in]range

◆ SetVehicle()

void SCR_CampaignMobileAssemblyStandaloneComponent.SetVehicle ( IEntity vehicle)
Parameters
[in]vehicle

◆ UpdateMapItem()

void SCR_CampaignMobileAssemblyStandaloneComponent.UpdateMapItem ( )
protected

◆ UpdateRadioCoverage()

void SCR_CampaignMobileAssemblyStandaloneComponent.UpdateRadioCoverage ( )

◆ UpdateRespawnCooldown()

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

◆ UpdateSuppliesAmount()

void SCR_CampaignMobileAssemblyStandaloneComponent.UpdateSuppliesAmount ( Widget w = null)

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

Parameters
[in]w

Member Data Documentation

◆ m_bCooldownDone

bool SCR_CampaignMobileAssemblyStandaloneComponent.m_bCooldownDone = true
protected

◆ m_bIsInRadioRange

bool SCR_CampaignMobileAssemblyStandaloneComponent.m_bIsInRadioRange
protected

◆ m_Faction

SCR_CampaignFaction SCR_CampaignMobileAssemblyStandaloneComponent.m_Faction
protected

◆ m_fRespawnAvailableSince

WorldTimestamp SCR_CampaignMobileAssemblyStandaloneComponent.m_fRespawnAvailableSince
protected

◆ m_iFaction

int SCR_CampaignMobileAssemblyStandaloneComponent.m_iFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
protected

◆ m_iParentFaction

int SCR_CampaignMobileAssemblyStandaloneComponent.m_iParentFaction = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
protected

◆ m_iRadioRange

int SCR_CampaignMobileAssemblyStandaloneComponent.m_iRadioRange
protected

◆ m_MapItem

MapItem SCR_CampaignMobileAssemblyStandaloneComponent.m_MapItem
protected

◆ m_ParentFaction

SCR_CampaignFaction SCR_CampaignMobileAssemblyStandaloneComponent.m_ParentFaction
protected

◆ m_RplComponent

RplComponent SCR_CampaignMobileAssemblyStandaloneComponent.m_RplComponent
protected

◆ m_Vehicle

IEntity SCR_CampaignMobileAssemblyStandaloneComponent.m_Vehicle
protected

◆ RESOURCE_GENERATOR_ID

const EResourceGeneratorID SCR_CampaignMobileAssemblyStandaloneComponent.RESOURCE_GENERATOR_ID = EResourceGeneratorID.DEFAULT
staticprotected

◆ RESOURCE_TYPE

const EResourceType SCR_CampaignMobileAssemblyStandaloneComponent.RESOURCE_TYPE = EResourceType.SUPPLIES
staticprotected

◆ RESPAWN_COOLDOWN

const int SCR_CampaignMobileAssemblyStandaloneComponent.RESPAWN_COOLDOWN = 60000
static

◆ s_OnSpawnPointOwnerChanged

ref ScriptInvokerVoid SCR_CampaignMobileAssemblyStandaloneComponent.s_OnSpawnPointOwnerChanged = new ScriptInvokerVoid()
static

◆ s_OnUpdateRespawnCooldown

ref ScriptInvokerVoid SCR_CampaignMobileAssemblyStandaloneComponent.s_OnUpdateRespawnCooldown = new ScriptInvokerVoid()
static

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