CBaseGrenade: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
The base class for | The base class for grenades. | ||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/basegrenade_shared.h /game/shared/basegrenade_shared.h]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/basegrenade_shared.h /game/shared/basegrenade_shared.h]''' | ||
Line 118: | Line 118: | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} |
Latest revision as of 00:29, 17 September 2023
Overview[edit | edit source]
The base class for grenades.
Source location : /game/shared/basegrenade_shared.h
Linked entity : grenade
Class Structure[edit | edit source]
- CBaseEntity
- CBaseAnimating
- CBaseProjectile
- CBaseGrenade
- CBaseProjectile
- CBaseAnimating
SendProps[edit | edit source]
Name | Type | Description |
---|---|---|
m_flDamage | Float | |
m_DmgRadius | Float | |
m_bIsLive | Boolean | |
m_hThrower | Integer | |
m_vecVelocity | Vector | |
m_fFlags | Integer |
Entity DataMaps[edit | edit source]
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 |