Loading...
Searching...
No Matches
SCR_LimbDamagePassRule Interface Reference
Inheritance diagram for SCR_LimbDamagePassRule:
SCR_BaseDamagePassRule

Public Member Functions

override void HandlePassedDamage (inout notnull BaseDamageContext damageContext, notnull SCR_HitZone srcHitZone, notnull SCR_DamageManagerComponent dmgManager)
 Distributes sequnetially the damage amongst other hit zone group members.
 

Protected Member Functions

void TryDealDamage (inout notnull BaseDamageContext damageContext, notnull SCR_HitZone targetHitZone, notnull SCR_DamageManagerComponent dmgManager)
 Distributes sequnetially the damage amongst other hit zone group members.
 

Protected Attributes

ECharacterHitZoneGroup m_eSpilloverHitZoneGroup
 
- Protected Attributes inherited from SCR_BaseDamagePassRule
ref array< EDamageStatem_aDamageStates
 
ref array< EDamageTypem_aSourceDamageTypes
 
EDamageType m_eOutputDamageType
 
float m_fMultiplier
 

Member Function Documentation

◆ HandlePassedDamage()

override void SCR_LimbDamagePassRule.HandlePassedDamage ( inout notnull BaseDamageContext damageContext,
notnull SCR_HitZone srcHitZone,
notnull SCR_DamageManagerComponent dmgManager )

Distributes sequnetially the damage amongst other hit zone group members.

Parameters
[in,out]damageContextto be received by the hit zone which called this method
[in]srcHitZonewhich called this method
[in]dmgManagerto which this hit zone belongs

Damage context clone that prevents this rule from influencing the result of other potential rules

Implements SCR_BaseDamagePassRule.

◆ TryDealDamage()

void SCR_LimbDamagePassRule.TryDealDamage ( inout notnull BaseDamageContext damageContext,
notnull SCR_HitZone targetHitZone,
notnull SCR_DamageManagerComponent dmgManager )
protected

Distributes sequnetially the damage amongst other hit zone group members.

Parameters
[in,out]damageContextreusable context which is going to be used to deal damage, and store information of how much damage was still left for distribution
[in]targetHitZonewhich should be damaged
[in]dmgManagerwhich is going to deal the damage

actual amount of damage that was absorbed by target hit zone

The actual amount of damage that will be done to the target hit zone

Member Data Documentation

◆ m_eSpilloverHitZoneGroup

ECharacterHitZoneGroup SCR_LimbDamagePassRule.m_eSpilloverHitZoneGroup
protected

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