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

Go to the source code of this file.

Data Structures

class  SCR_ServicePointComponentClass
 

Enumerations

enum  SCR_EServicePointType {
  ARMORY, LIGHT_VEHICLE_DEPOT, HEAVY_VEHICLE_DEPOT, FIELD_HOSPITAL,
  BARRACKS, RADIO_ANTENNA, HELIPAD, FUEL_DEPOT,
  REPAIR_DEPOT, SUPPLY_DEPOT
}
 

Functions

SCR_ServicePointComponentClass SCR_MilitaryBaseLogicComponentClass Attribute (SCR_EServicePointType.SUPPLY_DEPOT.ToString(), uiwidget:UIWidgets.ComboBox, enums:ParamEnumArray.FromEnum(SCR_EServicePointType))] protected SCR_EServicePointType m_eType
 
Faction GetFaction ()
 
ResourceName GetDelegatePrefab ()
 
ScriptInvoker GetOnServiceStateChanged ()
 
SCR_EServicePointType GetType ()
 
EEditableEntityLabel GetLabel ()
 
SCR_EServicePointStatus GetServiceState ()
 
void SetServiceState (SCR_EServicePointStatus state)
 Set the current operational state of the service. More...
 
void ServiceStateChanged ()
 Called from RplProp event. More...
 
void SetDelegate (notnull SCR_ServicePointDelegateComponent delegate)
 
override void OnBaseUnregistered (notnull SCR_MilitaryBaseComponent base)
 
protected void OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction faction)
 Event which is triggered when the owning faction changes. More...
 
void RegisterService ()
 
void SetServiceOnline ()
 Switch service to online status. More...
 
override void OnPostInit (IEntity owner)
 Editable Mine. More...
 
override void OnDelete (IEntity owner)
 

Variables

protected EEditableEntityLabel m_eBuildingLabel
 
protected ResourceName m_sDelegatePrefab
 
protected SCR_EServicePointStatus m_eServiceState = SCR_EServicePointStatus.OFFLINE
 
protected SCR_FactionAffiliationComponent m_FactionControl
 
protected ref ScriptInvoker m_OnServiceStateChanged
 
protected SCR_ServicePointDelegateComponent m_Delegate
 
enum SCR_EServicePointType OFFLINE
 
enum SCR_EServicePointType ONLINE
 
enum SCR_EServicePointType UNDER_CONSTRUCTION
 
enum SCR_EServicePointType BROKEN
 

Enumeration Type Documentation

◆ SCR_EServicePointType

Enumerator
ARMORY 
LIGHT_VEHICLE_DEPOT 
HEAVY_VEHICLE_DEPOT 
FIELD_HOSPITAL 
BARRACKS 
RADIO_ANTENNA 
HELIPAD 
FUEL_DEPOT 
REPAIR_DEPOT 
SUPPLY_DEPOT 

Definition at line 180 of file SCR_ServicePointComponent.c.

Function Documentation

◆ Attribute()

SCR_ServicePointComponentClass SCR_MilitaryBaseLogicComponentClass Attribute ( SCR_EServicePointType.SUPPLY_DEPOT.  ToString(),
uiwidget:UIWidgets.  ComboBox,
enums:ParamEnumArray.  FromEnumSCR_EServicePointType 
)

◆ GetDelegatePrefab()

ResourceName GetDelegatePrefab ( )
Returns

Definition at line 41 of file SCR_ServicePointComponent.c.

◆ GetFaction()

Faction GetFaction ( )
Returns

Definition at line 27 of file SCR_ServicePointComponent.c.

◆ GetLabel()

EEditableEntityLabel GetLabel ( )
Returns

Definition at line 65 of file SCR_ServicePointComponent.c.

◆ GetOnServiceStateChanged()

ScriptInvoker GetOnServiceStateChanged ( )
Returns

Definition at line 48 of file SCR_ServicePointComponent.c.

◆ GetServiceState()

SCR_EServicePointStatus GetServiceState ( )
Returns

Definition at line 72 of file SCR_ServicePointComponent.c.

◆ GetType()

SCR_EServicePointType GetType ( )
Returns

Definition at line 58 of file SCR_ServicePointComponent.c.

◆ OnBaseUnregistered()

override void OnBaseUnregistered ( notnull SCR_MilitaryBaseComponent  base)
Parameters
[in]base

Definition at line 104 of file SCR_ServicePointComponent.c.

◆ OnFactionChanged()

protected void OnFactionChanged ( FactionAffiliationComponent  owner,
Faction  previousFaction,
Faction  faction 
)

Event which is triggered when the owning faction changes.

Definition at line 41 of file SCR_ArsenalDisplayComponent.c.

◆ RegisterService()

void RegisterService ( )

Definition at line 115 of file SCR_ServicePointComponent.c.

◆ ServiceStateChanged()

void ServiceStateChanged ( )

Called from RplProp event.

Definition at line 90 of file SCR_ServicePointComponent.c.

◆ SetDelegate()

void SetDelegate ( notnull SCR_ServicePointDelegateComponent  delegate)
Parameters
[in]delegate

Definition at line 98 of file SCR_ServicePointComponent.c.

◆ SetServiceOnline()

void SetServiceOnline ( )

Switch service to online status.

Definition at line 143 of file SCR_ServicePointComponent.c.

◆ SetServiceState()

void SetServiceState ( SCR_EServicePointStatus  state)

Set the current operational state of the service.

Definition at line 79 of file SCR_ServicePointComponent.c.

Variable Documentation

◆ BROKEN

enum SCR_EServicePointType BROKEN

◆ m_Delegate

protected SCR_ServicePointDelegateComponent m_Delegate

Definition at line 23 of file SCR_ServicePointComponent.c.

◆ m_eBuildingLabel

protected EEditableEntityLabel m_eBuildingLabel

Definition at line 11 of file SCR_ServicePointComponent.c.

◆ m_eServiceState

protected SCR_EServicePointStatus m_eServiceState = SCR_EServicePointStatus.OFFLINE

Definition at line 18 of file SCR_ServicePointComponent.c.

◆ m_FactionControl

protected SCR_FactionAffiliationComponent m_FactionControl

Definition at line 20 of file SCR_ServicePointComponent.c.

◆ m_OnServiceStateChanged

protected ref ScriptInvoker m_OnServiceStateChanged

Definition at line 22 of file SCR_ServicePointComponent.c.

◆ m_sDelegatePrefab

protected ResourceName m_sDelegatePrefab

Definition at line 14 of file SCR_ServicePointComponent.c.

◆ OFFLINE

enum SCR_EServicePointType OFFLINE

◆ ONLINE

enum SCR_EServicePointType ONLINE

◆ UNDER_CONSTRUCTION

enum SCR_EServicePointType UNDER_CONSTRUCTION