CTFKnife: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
...
The Spy knives which are under the weapon class tf_weapon_knife are instances of this class.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_weapon_knife.h /game/shared/tf/tf_weapon_knife.h]'''


'''Linked entity : ...'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/tf_weapon_knife tf_weapon_knife]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CEconEntity]]'''
****'''[[CBaseFlex]]'''
****'''[[CBaseCombatWeapon]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''[[CTFWeaponBase]]'''
******'''[[CBasePlayer]]'''
******'''[[CTFWeaponBaseMelee]]'''
*******'''CTFPlayer'''
*******'''CTFKnife'''


== SendProps ==
== SendProps ==

Latest revision as of 00:43, 23 February 2022

Overview[edit | edit source]

The Spy knives which are under the weapon class tf_weapon_knife are instances of this class.

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

Linked entity : tf_weapon_knife

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFKnife
Name Type Description
m_bReadyToBackstab Boolean
m_bKnifeExists Boolean
m_flKnifeRegenerateDuration Float
m_flKnifeMeltTimestamp Float