CTriggerHurt: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/triggers.h /game/server/triggers.h]''' '''Linked Entity...")
 
No edit summary
 
Line 12: Line 12:
****'''[[CTriggerHurtShim]]'''
****'''[[CTriggerHurtShim]]'''
*****'''CTriggerHurt'''
*****'''CTriggerHurt'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTriggerHurt
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''m_OnHurt'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnHurtPlayer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bNoDmgForce'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bitsDamageInflict'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_damageModel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDamage'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDamageCap'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDmgResetTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flLastDmgTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flOriginalDamage'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hurtEntities'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 00:34, 28 March 2022

Overview[edit | edit source]

...

Source location : /game/server/triggers.h

Linked Entity : trigger_hurt

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CTriggerHurt
Name Type Description
m_OnHurt
m_OnHurtPlayer
m_bNoDmgForce
m_bitsDamageInflict
m_damageModel
m_flDamage
m_flDamageCap
m_flDmgResetTime
m_flLastDmgTime
m_flOriginalDamage
m_hurtEntities