CWeaponMedigun: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
The Medic's mediguns which are under the weapon class tf_weapon_medigun are instances of this class.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_weapon_medigun.h /game/shared/tf/tf_weapon_medigun.h]'''


'''Linked entity : ...'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/tf_weapon_medigun tf_weapon_medigun]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CEconEntity]]'''
****'''[[CBaseFlex]]'''
****'''[[CBaseCombatWeapon]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''[[CTFWeaponBase]]'''
******'''[[CBasePlayer]]'''
******'''[[CTFWeaponBaseGun]]'''
*******'''CTFPlayer'''
*******'''CWeaponMedigun'''


== SendProps ==
== SendProps ==
Line 66: Line 66:
| style="width: 15%;" |Float
| style="width: 15%;" |Float
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}
|}

Latest revision as of 16:45, 26 February 2022

Overview[edit | edit source]

The Medic's mediguns which are under the weapon class tf_weapon_medigun are instances of this class.

Source location : /game/shared/tf/tf_weapon_medigun.h

Linked entity : tf_weapon_medigun

Class Structure[edit | edit source]

SendProps[edit | edit source]

CWeaponMedigun
Name Type Description
m_hHealingTarget Integer
m_bHealing Boolean
m_bAttacking Boolean
m_bChargeRelease Boolean
m_bHolstered Boolean
m_nChargeResistType Integer
m_hLastHealingTarget Integer
LocalTFWeaponMedigunData
m_flChargeLevel Float
NonLocalTFWeaponMedigunData
m_flChargeLevel Float