CDestructiblePart
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 80 bytes (0x50)Alignment: 8 bytesModule: serverBinary: !GlobalTypes
Metadata: MFgdHelper game_data_list{ key = 'CDestructiblePart' } MModelGameData
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- CDestructiblePart
Relationship diagram (1 edges)
classDiagram
CDestructiblePart *-- CDestructiblePart_DamageLevelMemory layout
7 fields, 7 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CDestructiblePart
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_DebugName | CGlobalSymbol | MPropertySuppressField | |
0x8 | m_nHitGroup | HitGroup_t | MPropertyDescription The hitgroup this is related to. MPropertyStartGroup +Hitgroup | |
0xc | m_bDisableHitGroupWhenDestroyed | bool | MPropertyDescription Do we disable the hitgroup and physics bodies tagged with said hitgroup when all damage levels are destroyed? MPropertyFriendlyName Disable Hit Group & Remove Tagged Physics Bodies When Destroyed | |
0x10 | m_nOtherHitgroupsToDestroyWhenFullyDestructed | CUtlVector< HitGroup_t > | MPropertyDescription Other hitgroups to destroy when this one is fully destroyed. Useful for chaining destructibles like blowing up the lower arm when the upper arm dies. | |
0x28 | m_bOnlyDestroyWhenGibbing | bool | MPropertyDescription Only allow this part to be destroyed when gibbing. Useful for special case gibbing breakables like torsos. MPropertyStartGroup +Gibbing | |
0x30 | m_sBodyGroupName | CGlobalSymbol | MPropertyAttributeEditor ModelDocPicker( MODELDOC_PICK_TYPE_BODY_GROUP ) MPropertyDescription Body group to set when this damage level is broken. MPropertyStartGroup +Model Setup/+Body Group | |
0x38 | m_DamageLevels | CUtlVector< CDestructiblePart_DamageLevel > | MPropertyAutoExpandSelf MPropertyDescription The various damage levels for this hitgroup. MPropertyFriendlyName Damage Levels MPropertyStartGroup |
KV3 class defaults
{
"m_DebugName": "",
"m_nHitGroup": "HITGROUP_GENERIC",
"m_bDisableHitGroupWhenDestroyed": true,
"m_nOtherHitgroupsToDestroyWhenFullyDestructed":
[
],
"m_bOnlyDestroyWhenGibbing": false,
"m_sBodyGroupName": "",
"m_DamageLevels":
[
]
}