CTFWeaponBaseGrenadeProj: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
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 : ...'''
'''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]'''


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


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProjectile]]'''
****'''[[CBaseFlex]]'''
****'''[[CBaseGrenade]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''CTFWeaponBaseGrenadeProj'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==

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