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

Public Member Functions

override void OnPostInit (IEntity owner)
 
override void EOnInit (IEntity owner)
 
void EvaluateHit ()
 
void RepairEntity ()
 Repair entity (called on Server)
 
bool IsProxy ()
 
int GetRepairCost ()
 
void SetHitEvaluation (bool canEvaluate)
 Prevent multiple executions of onDamage event.
 

Protected Attributes

int m_iEntityOperabilityPart
 How much is the service operability reduced when this entity is destroyed.
 
int m_iRepairCost
 Cost of repair.
 
SCR_CampaignServiceCompositionComponent m_ServiceCompositionComp
 
SCR_DestructionMultiPhaseComponent m_DestMultiComp
 
bool m_bCanEvaluateHit = true
 
RplComponent m_RplComponent
 

Member Function Documentation

◆ EOnInit()

override void SCR_CampaignServiceEntityComponent.EOnInit ( IEntity  owner)

◆ EvaluateHit()

void SCR_CampaignServiceEntityComponent.EvaluateHit ( )

◆ GetRepairCost()

int SCR_CampaignServiceEntityComponent.GetRepairCost ( )
Returns
cost of repair

◆ IsProxy()

bool SCR_CampaignServiceEntityComponent.IsProxy ( )
Returns
if is proxy or not

◆ OnPostInit()

override void SCR_CampaignServiceEntityComponent.OnPostInit ( IEntity  owner)

◆ RepairEntity()

void SCR_CampaignServiceEntityComponent.RepairEntity ( )

Repair entity (called on Server)

◆ SetHitEvaluation()

void SCR_CampaignServiceEntityComponent.SetHitEvaluation ( bool  canEvaluate)

Prevent multiple executions of onDamage event.

Parameters
[in]canEvaluate

Member Data Documentation

◆ m_bCanEvaluateHit

bool SCR_CampaignServiceEntityComponent.m_bCanEvaluateHit = true
protected

◆ m_DestMultiComp

SCR_DestructionMultiPhaseComponent SCR_CampaignServiceEntityComponent.m_DestMultiComp
protected

◆ m_iEntityOperabilityPart

int SCR_CampaignServiceEntityComponent.m_iEntityOperabilityPart
protected

How much is the service operability reduced when this entity is destroyed.

◆ m_iRepairCost

int SCR_CampaignServiceEntityComponent.m_iRepairCost
protected

Cost of repair.

◆ m_RplComponent

RplComponent SCR_CampaignServiceEntityComponent.m_RplComponent
protected

◆ m_ServiceCompositionComp

SCR_CampaignServiceCompositionComponent SCR_CampaignServiceEntityComponent.m_ServiceCompositionComp
protected

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