Loading...
Searching...
No Matches
SCR_DamageManagerComponentClass Interface Reference
Inheritance diagram for SCR_DamageManagerComponentClass:
DamageManagerComponentClass HitZoneContainerComponentClass GameComponentClass ExtendedDamageManagerComponentClass SCR_ArmorDamageManagerComponentClass SCR_DestructibleBuildingComponentClass SCR_DestructionDamageManagerComponentClass SCR_MineDamageManagerClass SCR_RotorDamageManagerComponentClass SCR_VehicleDamageManagerComponentClass SCR_ExtendedDamageManagerComponentClass SCR_DestructionFractalComponentClass SCR_DestructionMultiPhaseComponentClass SCR_HelicopterDamageManagerComponentClass SCR_WheeledDamageManagerComponentClass SCR_CharacterDamageManagerComponentClass SCR_DestructionTireComponentClass

Public Member Functions

SCR_SecondaryExplosions GetSecondaryExplosions ()
 
SCR_SecondaryExplosions GetSecondaryFires ()
 
bool GetBurnStateForHealth (float health, out SCR_EBurningState state)
 Retreives burn state for provided health.
 
array< int > GetGroupHitZoneIds (EHitZoneGroup hitZoneGroup)
 Retreives a list of ids which are corresponding to the id of the hit zones that are part of the provided group.
 
void InitPrefabData (notnull IEntity owner, notnull SCR_DamageManagerComponent dmgManager)
 
- Public Member Functions inherited from DamageManagerComponentClass
proto external float GetFallDamageLimitNoDamage ()
 
proto external float GetFallDamageLimitFullDamage ()
 
proto external float GetHeavyDamageThreshold ()
 

Protected Attributes

ref SCR_SecondaryExplosions m_SecondaryExplosions
 
ref SCR_SecondaryExplosions m_SecondaryFires
 
ref SCR_RepairConfig m_RepairConfig
 
ref map< EHitZoneGroup, ref array< int > > m_mHitZoneGroupMap
 

Member Function Documentation

◆ GetBurnStateForHealth()

bool SCR_DamageManagerComponentClass.GetBurnStateForHealth ( float health,
out SCR_EBurningState state )

Retreives burn state for provided health.

Parameters
[in]healthpercenatage of total health (0.0 to 1.0)
[out]stateoutput that will contain state that coresponds to the provided health or SCR_EBurningState.NONE if there is no such state
Returns
true if coresponding state was found

◆ GetGroupHitZoneIds()

array< int > SCR_DamageManagerComponentClass.GetGroupHitZoneIds ( EHitZoneGroup hitZoneGroup)

Retreives a list of ids which are corresponding to the id of the hit zones that are part of the provided group.

Parameters
[in]hitZoneGroup
Returns
list of ids, if none are found then null

◆ GetSecondaryExplosions()

SCR_SecondaryExplosions SCR_DamageManagerComponentClass.GetSecondaryExplosions ( )

◆ GetSecondaryFires()

SCR_SecondaryExplosions SCR_DamageManagerComponentClass.GetSecondaryFires ( )

◆ InitPrefabData()

void SCR_DamageManagerComponentClass.InitPrefabData ( notnull IEntity owner,
notnull SCR_DamageManagerComponent dmgManager )
Parameters
[in]ownerwho tried to do the initialization
[in]dmgManagerwhich tried to do the initialization

Member Data Documentation

◆ m_mHitZoneGroupMap

ref map<EHitZoneGroup, ref array<int> > SCR_DamageManagerComponentClass.m_mHitZoneGroupMap
protected

◆ m_RepairConfig

ref SCR_RepairConfig SCR_DamageManagerComponentClass.m_RepairConfig
protected

◆ m_SecondaryExplosions

ref SCR_SecondaryExplosions SCR_DamageManagerComponentClass.m_SecondaryExplosions
protected

◆ m_SecondaryFires

ref SCR_SecondaryExplosions SCR_DamageManagerComponentClass.m_SecondaryFires
protected

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