Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_LimbDamagePassRule Class Reference
Inheritance diagram for SCR_LimbDamagePassRule:
SCR_BaseDamagePassRule

Protected Member Functions

override void HandlePassedDamage (inout notnull BaseDamageContext damageContext, notnull SCR_HitZone srcHitZone, notnull SCR_DamageManagerComponent dmgManager)
void TryDealDamage (inout notnull BaseDamageContext damageContext, notnull SCR_HitZone targetHitZone, notnull SCR_DamageManagerComponent dmgManager)

Protected Attributes

ECharacterHitZoneGroup m_eSpilloverHitZoneGroup

Detailed Description

Definition at line 2 of file SCR_LimbDamagePassRule.c.

Member Function Documentation

◆ HandlePassedDamage()

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

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

Definition at line 12 of file SCR_LimbDamagePassRule.c.

◆ TryDealDamage()

void SCR_LimbDamagePassRule::TryDealDamage ( inout notnull BaseDamageContext damageContext,
notnull SCR_HitZone targetHitZone,
notnull SCR_DamageManagerComponent dmgManager )
inlineprotected

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

Definition at line 56 of file SCR_LimbDamagePassRule.c.

Member Data Documentation

◆ m_eSpilloverHitZoneGroup

ECharacterHitZoneGroup SCR_LimbDamagePassRule::m_eSpilloverHitZoneGroup
protected

Definition at line 5 of file SCR_LimbDamagePassRule.c.


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