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

Go to the source code of this file.

Data Structures

class  SCR_RepairSupportStationComponentClass
 

Functions

SCR_RepairSupportStationComponentClass SCR_BaseDamageHealSupportStationComponentClass Attribute ("40", desc:"Only valid if m_aDoTTypesHealed includes FIRE, Each Execute the fire rate is reduced with a set amount. If fire rate is 0 it will be extinguished", category:"Heal/Repair Support Station")] protected float m_fFireRateReductionEachExecute
 
ENotification GetHealDoneNotFullInVehicleNotification ()
 
SCR_AudioSourceConfiguration GetOnExtinguishUpdateAudioConfig ()
 
SCR_AudioSourceConfiguration GetOnExtinguishDoneAudioConfig ()
 
override ESupportStationType GetSupportStationType ()
 
protected override float GetDamageOrStateToHeal (IEntity actionOwner, IEntity actionUser, notnull SCR_BaseDamageHealSupportStationAction action, out EDamageType activeDoT, out notnull array< HitZone > hitZones)
 
protected override int GetSupplyCostAction (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action)
 
override void OnExecutedServer (notnull IEntity actionOwner, notnull IEntity actionUser, notnull SCR_BaseUseSupportStationAction action)
 
protected override void OnExecuteDamageSystem (IEntity actionOwner, IEntity actionUser, SCR_EDamageSupportStationHealState healState, SCR_BaseDamageHealSupportStationAction action, float healthScaled)
 
protected override void SendDamageSupportStationNotification (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action, SCR_EDamageSupportStationHealState healState, float healthScaled)
 
protected void RemoveSmokeFromHitZone (notnull IEntity actionOwner, notnull IEntity actionUser, SCR_BaseDamageHealSupportStationAction action, notnull array< HitZone > hitZones)
 

Variables

protected ENotification m_eHealDoneNotFullNotificationInVehicle
 
protected string m_sOnExtinguishUpdateSoundEffectEventName
 
protected string m_sOnExtinguishDoneSoundEffectEventName
 
protected ref SCR_AudioSourceConfiguration m_OnExtinguishUpdateAudioSourceConfiguration
 
protected ref SCR_AudioSourceConfiguration m_OnExtinguishDoneAudioSourceConfiguration
 
protected float m_iSupplyCostPerFireRateReduction
 
protected float m_fHeavySmokeRemoveHealthPercentage
 
protected float m_fLightSmokeRemoveHealthPercentage
 

Function Documentation

◆ Attribute()

SCR_RepairSupportStationComponentClass SCR_BaseDamageHealSupportStationComponentClass Attribute ( "40"  ,
desc:"Only valid if m_aDoTTypesHealed includes  FIRE,
Each Execute the fire rate is reduced with a set amount. If fire rate is 0 it will be extinguished"  ,
category:"Heal/Repair Support Station"   
)

◆ GetDamageOrStateToHeal()

protected override float GetDamageOrStateToHeal ( IEntity  actionOwner,
IEntity  actionUser,
notnull SCR_BaseDamageHealSupportStationAction  action,
out EDamageType  activeDoT,
out notnull array< HitZone hitZones 
)

Definition at line 67 of file SCR_RepairSupportStationComponent.c.

◆ GetHealDoneNotFullInVehicleNotification()

ENotification Attribute::GetHealDoneNotFullInVehicleNotification ( )
Returns
Notification for Heal done but not full aka: Support Station cannot heal more. This notification is send to players that are in the vehicle that is healed

Definition at line 16 of file SCR_RepairSupportStationComponent.c.

◆ GetOnExtinguishDoneAudioConfig()

SCR_AudioSourceConfiguration Attribute::GetOnExtinguishDoneAudioConfig ( )
Returns
Sound Config for heal update. Will return null if no audio is assigned

Definition at line 34 of file SCR_RepairSupportStationComponent.c.

◆ GetOnExtinguishUpdateAudioConfig()

SCR_AudioSourceConfiguration Attribute::GetOnExtinguishUpdateAudioConfig ( )
Returns
Sound Config for heal update. Will return null if no audio is assigned

Definition at line 23 of file SCR_RepairSupportStationComponent.c.

◆ GetSupplyCostAction()

protected override int GetSupplyCostAction ( IEntity  actionOwner,
IEntity  actionUser,
SCR_BaseUseSupportStationAction  action 
)

Definition at line 103 of file SCR_RepairSupportStationComponent.c.

◆ GetSupportStationType()

override ESupportStationType GetSupportStationType ( )

Definition at line 61 of file SCR_RepairSupportStationComponent.c.

◆ OnExecuteDamageSystem()

protected override void OnExecuteDamageSystem ( IEntity  actionOwner,
IEntity  actionUser,
SCR_EDamageSupportStationHealState  healState,
SCR_BaseDamageHealSupportStationAction  action,
float  healthScaled 
)

Definition at line 207 of file SCR_RepairSupportStationComponent.c.

◆ OnExecutedServer()

override void OnExecutedServer ( notnull IEntity  actionOwner,
notnull IEntity  actionUser,
notnull SCR_BaseUseSupportStationAction  action 
)

Definition at line 125 of file SCR_RepairSupportStationComponent.c.

◆ RemoveSmokeFromHitZone()

protected void RemoveSmokeFromHitZone ( notnull IEntity  actionOwner,
notnull IEntity  actionUser,
SCR_BaseDamageHealSupportStationAction  action,
notnull array< HitZone hitZones 
)

Definition at line 334 of file SCR_RepairSupportStationComponent.c.

◆ SendDamageSupportStationNotification()

protected override void SendDamageSupportStationNotification ( IEntity  actionOwner,
IEntity  actionUser,
SCR_BaseUseSupportStationAction  action,
SCR_EDamageSupportStationHealState  healState,
float  healthScaled 
)

Definition at line 257 of file SCR_RepairSupportStationComponent.c.

Variable Documentation

◆ m_eHealDoneNotFullNotificationInVehicle

protected ENotification m_eHealDoneNotFullNotificationInVehicle

Definition at line 3 of file SCR_RepairSupportStationComponent.c.

◆ m_fHeavySmokeRemoveHealthPercentage

protected float m_fHeavySmokeRemoveHealthPercentage

Definition at line 55 of file SCR_RepairSupportStationComponent.c.

◆ m_fLightSmokeRemoveHealthPercentage

protected float m_fLightSmokeRemoveHealthPercentage

Definition at line 58 of file SCR_RepairSupportStationComponent.c.

◆ m_iSupplyCostPerFireRateReduction

protected float m_iSupplyCostPerFireRateReduction

Definition at line 52 of file SCR_RepairSupportStationComponent.c.

◆ m_OnExtinguishDoneAudioSourceConfiguration

protected ref SCR_AudioSourceConfiguration m_OnExtinguishDoneAudioSourceConfiguration

Definition at line 12 of file SCR_RepairSupportStationComponent.c.

◆ m_OnExtinguishUpdateAudioSourceConfiguration

protected ref SCR_AudioSourceConfiguration m_OnExtinguishUpdateAudioSourceConfiguration

Definition at line 11 of file SCR_RepairSupportStationComponent.c.

◆ m_sOnExtinguishDoneSoundEffectEventName

protected string m_sOnExtinguishDoneSoundEffectEventName

Definition at line 9 of file SCR_RepairSupportStationComponent.c.

◆ m_sOnExtinguishUpdateSoundEffectEventName

protected string m_sOnExtinguishUpdateSoundEffectEventName

Definition at line 6 of file SCR_RepairSupportStationComponent.c.