CBaseGrenade: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 118: Line 118:
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/grenade grenade]
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/npc_concussiongrenade npc_concussiongrenade]
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CBaseGrenadeConcussionExplodeConcussion'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CBaseGrenadeConcussionFallThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/npc_contactgrenade npc_contactgrenade]
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/npc_handgrenade npc_handgrenade]
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|}
|}

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]

SendProps[edit | edit source]

CBaseGrenade
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]

CBaseGrenade
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