Skip to content

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_DamageLevel
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

7 fields, 7 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

CDestructiblePart

OffsetFieldTypeFromAnnotations
0x0m_DebugNameCGlobalSymbolMPropertySuppressField
0x8m_nHitGroupHitGroup_tMPropertyDescription The hitgroup this is related to. MPropertyStartGroup +Hitgroup
0xcm_bDisableHitGroupWhenDestroyedboolMPropertyDescription 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
0x10m_nOtherHitgroupsToDestroyWhenFullyDestructedCUtlVector< 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.
0x28m_bOnlyDestroyWhenGibbingboolMPropertyDescription Only allow this part to be destroyed when gibbing. Useful for special case gibbing breakables like torsos. MPropertyStartGroup +Gibbing
0x30m_sBodyGroupNameCGlobalSymbolMPropertyAttributeEditor ModelDocPicker( MODELDOC_PICK_TYPE_BODY_GROUP ) MPropertyDescription Body group to set when this damage level is broken. MPropertyStartGroup +Model Setup/+Body Group
0x38m_DamageLevelsCUtlVector< 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":
	[
	]
}