CTFFlameThrower: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
The Pyro flamethrowers which are under the weapon class tf_weapon_flamethrower are instances of this class.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_weapon_flamethrower.h /game/shared/tf/tf_weapon_flamethrower.h]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/tf_weapon_flamethrower tf_weapon_flamethrower]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
***'''[[CEconEntity]]'''
****'''[[CBaseCombatWeapon]]'''
*****'''[[CTFWeaponBase]]'''
******'''[[CTFWeaponBaseGun]]'''
*******'''CTFFlameThrower'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTFFlameThrower
! 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_iWeaponState'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bCritFire'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHitTarget'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flChargeBeginTime'''
| 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" |LocalFlameThrowerData
|-
| style="width: 50%;" |'''m_iActiveFlames'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iDamagingFlames'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hFlameManager'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHasHalloweenSpell'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|}

Latest revision as of 23:36, 24 February 2022

Overview[edit | edit source]

The Pyro flamethrowers which are under the weapon class tf_weapon_flamethrower are instances of this class.

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

Linked entity : tf_weapon_flamethrower

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFFlameThrower
Name Type Description
m_iWeaponState Integer
m_bCritFire Boolean
m_bHitTarget Boolean
m_flChargeBeginTime Float
LocalFlameThrowerData
m_iActiveFlames Integer
m_iDamagingFlames Integer
m_hFlameManager Integer
m_bHasHalloweenSpell Boolean