Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_CampaignServiceCompositionComponent Interface Reference
Inheritance diagram for SCR_CampaignServiceCompositionComponent:
[legend]

Public Member Functions

override void OnPostInit (IEntity owner)
 
void ChangeOperability (int operability)
 
void SetCompositionType (EEditableEntityLabel type)
 
void SetService (SCR_ServicePointComponent service)
 
EEditableEntityLabel GetCompositionType ()
 
SCR_ServicePointComponent GetService ()
 
bool IsServiceOperable ()
 

Public Attributes

ref ScriptInvoker Event_EOnServiceDisabled = new ScriptInvoker()
 
ref ScriptInvoker Event_EOnServiceRepaired = new ScriptInvoker()
 

Protected Member Functions

bool GetNearestSlot (IEntity ent)
 

Protected Attributes

int m_iServiceOperability
 Service operability (initial)
 
int m_iServiceUnavailable
 Service operability limit.
 
SCR_SiteSlotEntity m_Slot
 
IEntity m_Owner
 
SCR_CampaignMilitaryBaseComponent m_Base
 
EEditableEntityLabel m_CompositionType
 
SCR_ServicePointComponent m_Service
 

Static Protected Attributes

static const int SLOT_SEARCH_DISTANCE = 5
 
static const bool AVAILABLE = true
 
static const bool UNAVAILABLE = false
 

Member Function Documentation

◆ ChangeOperability()

void SCR_CampaignServiceCompositionComponent.ChangeOperability ( int  operability)
Parameters
[in]operability

◆ GetCompositionType()

EEditableEntityLabel SCR_CampaignServiceCompositionComponent.GetCompositionType ( )
Returns

◆ GetNearestSlot()

bool SCR_CampaignServiceCompositionComponent.GetNearestSlot ( IEntity  ent)
protected

◆ GetService()

SCR_ServicePointComponent SCR_CampaignServiceCompositionComponent.GetService ( )
Returns

◆ IsServiceOperable()

bool SCR_CampaignServiceCompositionComponent.IsServiceOperable ( )
Returns

◆ OnPostInit()

override void SCR_CampaignServiceCompositionComponent.OnPostInit ( IEntity  owner)

◆ SetCompositionType()

void SCR_CampaignServiceCompositionComponent.SetCompositionType ( EEditableEntityLabel  type)
Parameters
[in]type

◆ SetService()

void SCR_CampaignServiceCompositionComponent.SetService ( SCR_ServicePointComponent  service)
Parameters
[in]service

Member Data Documentation

◆ AVAILABLE

const bool SCR_CampaignServiceCompositionComponent.AVAILABLE = true
staticprotected

◆ Event_EOnServiceDisabled

ref ScriptInvoker SCR_CampaignServiceCompositionComponent.Event_EOnServiceDisabled = new ScriptInvoker()

◆ Event_EOnServiceRepaired

ref ScriptInvoker SCR_CampaignServiceCompositionComponent.Event_EOnServiceRepaired = new ScriptInvoker()

◆ m_Base

SCR_CampaignMilitaryBaseComponent SCR_CampaignServiceCompositionComponent.m_Base
protected

◆ m_CompositionType

EEditableEntityLabel SCR_CampaignServiceCompositionComponent.m_CompositionType
protected

◆ m_iServiceOperability

int SCR_CampaignServiceCompositionComponent.m_iServiceOperability
protected

Service operability (initial)

◆ m_iServiceUnavailable

int SCR_CampaignServiceCompositionComponent.m_iServiceUnavailable
protected

Service operability limit.

◆ m_Owner

IEntity SCR_CampaignServiceCompositionComponent.m_Owner
protected

◆ m_Service

SCR_ServicePointComponent SCR_CampaignServiceCompositionComponent.m_Service
protected

◆ m_Slot

SCR_SiteSlotEntity SCR_CampaignServiceCompositionComponent.m_Slot
protected

◆ SLOT_SEARCH_DISTANCE

const int SCR_CampaignServiceCompositionComponent.SLOT_SEARCH_DISTANCE = 5
staticprotected

◆ UNAVAILABLE

const bool SCR_CampaignServiceCompositionComponent.UNAVAILABLE = false
staticprotected

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