CTFWeaponBase: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | |||
The base class for TF2 weapons. | |||
'''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]''' | |||
==[[Classes|Class Structure]]== | |||
*'''[[CBaseEntity]]''' | |||
**'''[[CBaseAnimating]]''' | |||
***'''[[CEconEntity]]''' | |||
****'''[[CBaseCombatWeapon]]''' | |||
*****'''CTFWeaponBase''' | |||
== SendProps== | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
|+CTFWeaponBase | |||
! 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_bLowered''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bResetParity''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iReloadMode''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bReloadedThroughAnimEvent''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bDisguiseWeapon''' | |||
| style="width: 15%;" |Boolean | |||
| 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" |LocalActiveTFWeaponData | |||
|- | |||
| style="width: 50%;" |'''m_flLastCritCheckTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flReloadPriorNextFire''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flLastFireTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flEffectBarRegenTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flObservedCritChance''' | |||
| 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" |NonLocalTFWeaponData | |||
|} | |||
|- | |||
| style="width: 50%;" |'''m_flEnergy''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_hExtraWearable''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_hExtraWearableViewModel''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bBeingRepurposedForTaunt''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nKillComboClass''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nKillComboCount''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flInspectAnimEndTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nInspectStage''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iConsecutiveShots''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|} | |||
== Entity DataMaps== | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
|+CTFWeaponBase | |||
! 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%;" |'''CTFWeaponBaseFallThink''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nCustomViewmodelModelIndex''' | |||
| style="width: 15%;" | | |||
| 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]
- CBaseEntity
- CBaseAnimating
- CEconEntity
- CBaseCombatWeapon
- CTFWeaponBase
- CBaseCombatWeapon
- CEconEntity
- CBaseAnimating
SendProps[edit | edit source]
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[edit | edit source]
Name | Type | Description |
---|---|---|
CTFWeaponBaseFallThink | ||
m_nCustomViewmodelModelIndex |