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

Go to the source code of this file.

Data Structures

class  SCR_CampaignServiceCompositionComponentClass
 

Functions

SCR_CampaignServiceCompositionComponentClass ScriptComponentClass Attribute ("100", UIWidgets.Slider, "Initial operability of service. If this goes to (or under) Service Unavailable value, composition is not providing it's service", "0 100 1")]
 Service operability (initial) More...
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 
void ChangeOperability (int operability)
 
void SetCompositionType (EEditableEntityLabel type)
 
void SetService (SCR_ServicePointComponent service)
 
EEditableEntityLabel GetCompositionType ()
 
SCR_ServicePointComponent GetService ()
 
protected bool GetNearestSlot (IEntity ent)
 
bool IsServiceOperable ()
 

Variables

protected int m_iServiceOperability
 
protected int m_iServiceUnavailable
 Service operability limit. More...
 
protected SCR_SiteSlotEntity m_Slot
 
protected IEntity m_Owner
 
protected SCR_CampaignMilitaryBaseComponent m_Base
 
protected EEditableEntityLabel m_CompositionType
 
protected SCR_ServicePointComponent m_Service
 
ref ScriptInvoker Event_EOnServiceDisabled = new ScriptInvoker()
 
ref ScriptInvoker Event_EOnServiceRepaired = new ScriptInvoker()
 

Function Documentation

◆ Attribute()

SCR_CampaignServiceCompositionComponentClass ScriptComponentClass Attribute ( "100"  ,
UIWidgets.  Slider,
"Initial operability of service. If this goes to (or under) Service Unavailable  value,
composition is not providing it 's service"  ,
"0 100 1"   
)

Service operability (initial)

◆ ChangeOperability()

void ChangeOperability ( int  operability)
Parameters
[in]operability

Definition at line 38 of file SCR_CampaignServiceCompositionComponent.c.

◆ GetCompositionType()

EEditableEntityLabel GetCompositionType ( )
Returns

Definition at line 83 of file SCR_CampaignServiceCompositionComponent.c.

◆ GetNearestSlot()

protected bool GetNearestSlot ( IEntity  ent)

Definition at line 97 of file SCR_CampaignServiceCompositionComponent.c.

◆ GetService()

SCR_ServicePointComponent GetService ( )
Returns

Definition at line 90 of file SCR_CampaignServiceCompositionComponent.c.

◆ IsServiceOperable()

bool IsServiceOperable ( )
Returns

Definition at line 109 of file SCR_CampaignServiceCompositionComponent.c.

◆ SetCompositionType()

void SetCompositionType ( EEditableEntityLabel  type)
Parameters
[in]type

Definition at line 69 of file SCR_CampaignServiceCompositionComponent.c.

◆ SetService()

void SetService ( SCR_ServicePointComponent  service)
Parameters
[in]service

Definition at line 76 of file SCR_CampaignServiceCompositionComponent.c.

Variable Documentation

◆ Event_EOnServiceDisabled

ref ScriptInvoker Event_EOnServiceDisabled = new ScriptInvoker()

Definition at line 23 of file SCR_CampaignServiceCompositionComponent.c.

◆ Event_EOnServiceRepaired

ref ScriptInvoker Event_EOnServiceRepaired = new ScriptInvoker()

Definition at line 24 of file SCR_CampaignServiceCompositionComponent.c.

◆ m_Base

◆ m_CompositionType

protected EEditableEntityLabel m_CompositionType

Definition at line 20 of file SCR_CampaignServiceCompositionComponent.c.

◆ m_iServiceOperability

protected int m_iServiceOperability

Definition at line 10 of file SCR_CampaignServiceCompositionComponent.c.

◆ m_iServiceUnavailable

protected int m_iServiceUnavailable

Service operability limit.

Definition at line 13 of file SCR_CampaignServiceCompositionComponent.c.

◆ m_Owner

protected IEntity m_Owner

Definition at line 18 of file SCR_CampaignServiceCompositionComponent.c.

◆ m_Service

protected SCR_ServicePointComponent m_Service

Definition at line 21 of file SCR_CampaignServiceCompositionComponent.c.

◆ m_Slot

protected SCR_SiteSlotEntity m_Slot

Definition at line 16 of file SCR_CampaignServiceCompositionComponent.c.