CTFWeaponBaseGrenadeProj: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
The base class for TF2 "grenades".
The base class for TF2 "grenades". In general, projectiles that fly in an arc will inherit from this class in one way or another.


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

Latest revision as of 18:11, 6 March 2022

Overview[edit | edit source]

The base class for TF2 "grenades". In general, projectiles that fly in an arc will inherit from this class in one way or another.

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

Linked entity : tf_weaponbase_grenadeproj

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFWeaponBaseGrenadeProj
Name Type Description
m_vInitialVelocity Vector
m_bCritical Boolean
m_vecOrigin Integer
m_angRotation Integer
m_vecOrigin Vector
m_angRotation Vector
m_iDeflected Integer
m_hDeflectOwner Integer

Entity DataMaps[edit | edit source]

CTFWeaponBaseGrenadeProj
Name Type Description
CTFWeaponBaseGrenadeProjDetonateThink