PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ComponentAnimalBleeding Class Reference

Private Member Functions

void ComponentAnimalBleeding ()
 
void InflictWoundDamage (TotalDamageResult damage_result, string zone_name, string ammo)
 
void CreateWound (TotalDamageResult damage_result, string zone_name, string ammo)
 
void Bleed (float wound_intensity)
 
float GetWoundIntensity (float bleed_treshold)
 

Private Attributes

protected ref Timer m_BleedTimer
 
protected const float BASE_BLEED_RATE = 250
 
protected const float PASS_OUT_AMOUT = 500
 

Constructor & Destructor Documentation

◆ ComponentAnimalBleeding()

void ComponentAnimalBleeding ( )
inlineprivate

Member Function Documentation

◆ Bleed()

void Bleed ( float  wound_intensity)
inlineprivate

◆ CreateWound()

void CreateWound ( TotalDamageResult  damage_result,
string  zone_name,
string  ammo 
)
inlineprivate

◆ GetWoundIntensity()

float GetWoundIntensity ( float  bleed_treshold)
inlineprivate

Referenced by CreateWound().

◆ InflictWoundDamage()

void InflictWoundDamage ( TotalDamageResult  damage_result,
string  zone_name,
string  ammo 
)
inlineprivate

Field Documentation

◆ BASE_BLEED_RATE

protected const float BASE_BLEED_RATE = 250
private

Referenced by Bleed().

◆ m_BleedTimer

protected ref Timer m_BleedTimer
private

Referenced by Bleed(), and CreateWound().

◆ PASS_OUT_AMOUT

protected const float PASS_OUT_AMOUT = 500
private

Referenced by Bleed().


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