Latest revision |
Your text |
Line 1: |
Line 1: |
| == Overview ==
| |
| 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]'''
| |
|
| |
| '''Linked entity : [https://developer.valvesoftware.com/wiki/grenade grenade]'''
| |
|
| |
| ==[[Classes|Class Structure]]==
| |
| *'''[[CBaseEntity]]'''
| |
| **'''[[CBaseAnimating]]'''
| |
| ***'''[[CBaseProjectile]]'''
| |
| ****'''CBaseGrenade'''
| |
|
| |
| == SendProps ==
| |
| {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
| |
| |+CBaseGrenade
| |
| ! 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%;" |'''m_flDamage'''
| |
| | style="width: 15%;" |Float
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_DmgRadius'''
| |
| | style="width: 15%;" |Float
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_bIsLive'''
| |
| | style="width: 15%;" |Boolean
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_hThrower'''
| |
| | style="width: 15%;" |Integer
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_vecVelocity'''
| |
| | style="width: 15%;" |Vector
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_fFlags'''
| |
| | style="width: 15%;" |Integer
| |
| | style="width: 35%;" |
| |
| |}
| |
|
| |
| == Entity DataMaps ==
| |
| {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
| |
| |+CBaseGrenade
| |
| ! 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%;" |'''CBaseGrenadeBounceTouch'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadeDangerSoundThink'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadeDetonate'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadeDetonateUse'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadeExplodeTouch'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadePreDetonate'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadeSlideTouch'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadeSmoke'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''CBaseGrenadeTumbleThink'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_DmgRadius'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_bHasWarnedAI'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_bIsLive'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_flDamage'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_flDetonateTime'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_flWarnAITime'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_hThrower'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |-
| |
| | style="width: 50%;" |'''m_iszBounceSound'''
| |
| | style="width: 15%;" |
| |
| | style="width: 35%;" |
| |
| |}
| |