CWeaponMedigun: Difference between revisions

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


'''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 : [https://developer.valvesoftware.com/wiki/tf_weapon_medigun tf_weapon_medigun]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
***'''[[CEconEntity]]'''
****'''[[CBaseCombatWeapon]]'''
*****'''[[CTFWeaponBase]]'''
******'''[[CTFWeaponBaseGun]]'''
*******'''CWeaponMedigun'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CWeaponMedigun
! 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_hHealingTarget'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHealing'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bAttacking'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bChargeRelease'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHolstered'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nChargeResistType'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hLastHealingTarget'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |LocalTFWeaponMedigunData
|-
| style="width: 50%;" |'''m_flChargeLevel'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|}
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |NonLocalTFWeaponMedigunData
|-
| style="width: 50%;" |'''m_flChargeLevel'''
| style="width: 15%;" |Float
| 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