CTFWeaponBase: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
The base class for TF2 weapons. | The base class for TF2 weapons. | ||
'''Source location : /game/shared/tf/tf_weaponbase.h''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_weaponbase.h /game/shared/tf/tf_weaponbase.h]''' | ||
'''Linked entity : [https://developer.valvesoftware.com/wiki/Tf_weapon_base tf_weapon_base]''' | '''Linked entity : [https://developer.valvesoftware.com/wiki/Tf_weapon_base tf_weapon_base]''' |
Revision as of 04:36, 19 February 2022
Overview
The base class for TF2 weapons.
Source location : /game/shared/tf/tf_weaponbase.h
Linked entity : tf_weapon_base
Class Structure
- CBaseEntity
- CBaseAnimating
- CEconEntity
- CBaseCombatWeapon
- CTFWeaponBase
- CBaseCombatWeapon
- CEconEntity
- CBaseAnimating
SendProps
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
m_bLowered | Boolean | |||||||||||||||||||
m_bResetParity | Boolean | |||||||||||||||||||
m_iReloadMode | Integer | |||||||||||||||||||
m_bReloadedThroughAnimEvent | Boolean | |||||||||||||||||||
m_bDisguiseWeapon | Boolean | |||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
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
Name | Type | Description |
---|---|---|
CTFWeaponBaseFallThink |