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

Go to the source code of this file.

Classes

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< SCR_ServicePointComponent, SCR_MilitaryBaseComponent > GetOnBaseRegistered ()
ScriptInvoker< SCR_ServicePointComponent, SCR_MilitaryBaseComponent > GetOnBaseUnregistered ()
ScriptInvoker GetOnServiceStateChanged ()
SCR_EServicePointType GetType ()
EEditableEntityLabel GetLabel ()
SCR_EServicePointStatus GetServiceState ()
void SetServiceState (SCR_EServicePointStatus state)
 Set the current operational state of the service.
void ServiceStateChanged ()
 Called from RplProp event.
void SetDelegate (notnull SCR_ServicePointDelegateComponent delegate)
override void OnBaseRegistered (notnull SCR_MilitaryBaseComponent base)
override void OnBaseUnregistered (notnull SCR_MilitaryBaseComponent base)
void OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction faction)
void RegisterService ()
void SetServiceOnline ()
 Switch service to online status.
override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)

Variables

EEditableEntityLabel m_eBuildingLabel
ResourceName m_sDelegatePrefab
SCR_EServicePointStatus m_eServiceState = SCR_EServicePointStatus.OFFLINE
SCR_FactionAffiliationComponent m_FactionControl
ref ScriptInvoker< SCR_ServicePointComponent, SCR_MilitaryBaseComponent > m_OnBaseRegistered
ref ScriptInvoker< SCR_ServicePointComponent, SCR_MilitaryBaseComponent > m_OnBaseUnregistered
ref ScriptInvoker m_OnServiceStateChanged
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

enum SCR_EServicePointType
protected
Enumerator
ARMORY 
LIGHT_VEHICLE_DEPOT 
HEAVY_VEHICLE_DEPOT 
FIELD_HOSPITAL 
BARRACKS 
RADIO_ANTENNA 
HELIPAD 
FUEL_DEPOT 
REPAIR_DEPOT 
SUPPLY_DEPOT 

Definition at line 214 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 ( )
protected
Returns

Definition at line 43 of file SCR_ServicePointComponent.c.

◆ GetFaction()

Faction GetFaction ( )
protected
Returns

Definition at line 29 of file SCR_ServicePointComponent.c.

◆ GetLabel()

EEditableEntityLabel GetLabel ( )
protected
Returns

Definition at line 87 of file SCR_ServicePointComponent.c.

◆ GetOnBaseRegistered()

ScriptInvoker< SCR_ServicePointComponent, SCR_MilitaryBaseComponent > GetOnBaseRegistered ( )
protected
Returns
Invoker that gets called when a base gets registered.

Definition at line 50 of file SCR_ServicePointComponent.c.

◆ GetOnBaseUnregistered()

ScriptInvoker< SCR_ServicePointComponent, SCR_MilitaryBaseComponent > GetOnBaseUnregistered ( )
protected
Returns
Invoker that gets called when a base gets unregistered.

Definition at line 60 of file SCR_ServicePointComponent.c.

◆ GetOnServiceStateChanged()

ScriptInvoker GetOnServiceStateChanged ( )
protected
Returns

Definition at line 70 of file SCR_ServicePointComponent.c.

◆ GetServiceState()

SCR_EServicePointStatus GetServiceState ( )
protected
Returns

Definition at line 94 of file SCR_ServicePointComponent.c.

◆ GetType()

SCR_EServicePointType GetType ( )
protected
Returns

Definition at line 80 of file SCR_ServicePointComponent.c.

◆ OnBaseRegistered()

override void OnBaseRegistered ( notnull SCR_MilitaryBaseComponent base)
protected

Definition at line 126 of file SCR_ServicePointComponent.c.

◆ OnBaseUnregistered()

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

Definition at line 135 of file SCR_ServicePointComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 205 of file SCR_ServicePointComponent.c.

◆ OnFactionChanged()

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

Definition at line 41 of file SCR_ArsenalDisplayComponent.c.

◆ RegisterService()

void RegisterService ( )
protected

Definition at line 149 of file SCR_ServicePointComponent.c.

◆ ServiceStateChanged()

void ServiceStateChanged ( )
protected

Called from RplProp event.

Definition at line 112 of file SCR_ServicePointComponent.c.

◆ SetDelegate()

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

Definition at line 120 of file SCR_ServicePointComponent.c.

◆ SetServiceOnline()

void SetServiceOnline ( )
protected

Switch service to online status.

Definition at line 177 of file SCR_ServicePointComponent.c.

◆ SetServiceState()

void SetServiceState ( SCR_EServicePointStatus state)
protected

Set the current operational state of the service.

Definition at line 101 of file SCR_ServicePointComponent.c.

Variable Documentation

◆ BROKEN

enum SCR_EServicePointType BROKEN
protected

◆ m_Delegate

SCR_ServicePointDelegateComponent m_Delegate
protected

Definition at line 25 of file SCR_ServicePointComponent.c.

◆ m_eBuildingLabel

EEditableEntityLabel m_eBuildingLabel
protected

Definition at line 11 of file SCR_ServicePointComponent.c.

◆ m_eServiceState

SCR_EServicePointStatus m_eServiceState = SCR_EServicePointStatus.OFFLINE
protected

Definition at line 18 of file SCR_ServicePointComponent.c.

◆ m_FactionControl

SCR_FactionAffiliationComponent m_FactionControl
protected

Definition at line 20 of file SCR_ServicePointComponent.c.

◆ m_OnBaseRegistered

ref ScriptInvoker<SCR_ServicePointComponent, SCR_MilitaryBaseComponent> m_OnBaseRegistered
protected

Definition at line 22 of file SCR_ServicePointComponent.c.

◆ m_OnBaseUnregistered

ref ScriptInvoker<SCR_ServicePointComponent, SCR_MilitaryBaseComponent> m_OnBaseUnregistered
protected

Definition at line 23 of file SCR_ServicePointComponent.c.

◆ m_OnServiceStateChanged

ref ScriptInvoker m_OnServiceStateChanged
protected

Definition at line 24 of file SCR_ServicePointComponent.c.

◆ m_sDelegatePrefab

ResourceName m_sDelegatePrefab
protected

Definition at line 14 of file SCR_ServicePointComponent.c.

◆ OFFLINE

enum SCR_EServicePointType OFFLINE
protected

◆ ONLINE

enum SCR_EServicePointType ONLINE
protected

◆ UNDER_CONSTRUCTION

enum SCR_EServicePointType UNDER_CONSTRUCTION
protected