CTFWeaponBase: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 114: Line 114:
|-
|-
| style="width: 50%;" |'''CTFWeaponBaseFallThink'''
| style="width: 50%;" |'''CTFWeaponBaseFallThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nCustomViewmodelModelIndex'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 08:52, 8 March 2023

Overview[edit | edit source]

The base class for TF2 weapons.

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

Linked entity : tf_weapon_base

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFWeaponBase
Name Type Description
m_bLowered Boolean
m_bResetParity Boolean
m_iReloadMode Integer
m_bReloadedThroughAnimEvent Boolean
m_bDisguiseWeapon Boolean
LocalActiveTFWeaponData
m_flLastCritCheckTime Float
m_flReloadPriorNextFire Float
m_flLastFireTime Float
m_flEffectBarRegenTime Float
m_flObservedCritChance Float
NonLocalTFWeaponData
m_flEnergy Float
m_hExtraWearable Integer
m_hExtraWearableViewModel Integer
m_bBeingRepurposedForTaunt Boolean
m_nKillComboClass Integer
m_nKillComboCount Integer
m_flInspectAnimEndTime Float
m_nInspectStage Integer
m_iConsecutiveShots Integer

Entity DataMaps[edit | edit source]

CTFWeaponBase
Name Type Description
CTFWeaponBaseFallThink
m_nCustomViewmodelModelIndex