CBaseGrenade: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
. | The base class for "grenades". For TF2, in general projectiles that fly in an arc inherit from this class. | ||
'''Source location : ...''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/basegrenade_shared.h /game/shared/basegrenade_shared.h]''' | ||
'''Linked entity : .. | '''Linked entity : [https://developer.valvesoftware.com/wiki/grenade grenade]''' | ||
==[[Classes|Class Structure]]== | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**'''[[CBaseAnimating]]''' | **'''[[CBaseAnimating]]''' | ||
***'''[[ | ***'''[[CBaseProjectile]]''' | ||
****''' | ****'''CBaseGrenade''' | ||
== SendProps == | == SendProps == |
Revision as of 18:03, 6 March 2022
Overview
The base class for "grenades". For TF2, in general projectiles that fly in an arc inherit from this class.
Source location : /game/shared/basegrenade_shared.h
Linked entity : grenade
Class Structure
- CBaseEntity
- CBaseAnimating
- CBaseProjectile
- CBaseGrenade
- CBaseProjectile
- CBaseAnimating
SendProps
Name | Type | Description |
---|---|---|
m_flDamage | Float | |
m_DmgRadius | Float | |
m_bIsLive | Boolean | |
m_hThrower | Integer | |
m_vecVelocity | Vector | |
m_fFlags | Integer |
Entity DataMaps
Name | Type | Description |
---|---|---|
CBaseGrenadeBounceTouch | ||
CBaseGrenadeDangerSoundThink | ||
CBaseGrenadeDetonate | ||
CBaseGrenadeDetonateUse | ||
CBaseGrenadeExplodeTouch | ||
CBaseGrenadePreDetonate | ||
CBaseGrenadeSlideTouch | ||
CBaseGrenadeSmoke | ||
CBaseGrenadeTumbleThink | ||
m_DmgRadius | ||
m_bHasWarnedAI | ||
m_bIsLive | ||
m_flDamage | ||
m_flDetonateTime | ||
m_flWarnAITime | ||
m_hThrower | ||
m_iszBounceSound |
Name | Type | Description |
---|
Name | Type | Description |
---|---|---|
CBaseGrenadeConcussionExplodeConcussion | ||
CBaseGrenadeConcussionFallThink |
Name | Type | Description |
---|
Name | Type | Description |
---|