> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CDestructiblePart"
navbar: dynamic
asidebar: hide
---
# CDestructiblePart

Schema class in module `server`.

## Summary

- Kind: `class`
- Module: `server`
- Size: `80 (0x50)`
- Size bytes: `80`
- Parent: `value.DeclaredClass`
- Inherited fields: `0`
- Product: Counter-Strike 2

### Metadata

- `MModelGameData`
- `MFgdHelper`: "game\_data\_list\{ key = 'CDestructiblePart' \}"

## Inheritance

- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_DebugName` | [string](/cs2/api_reference/lua/base#string) | 0 (0x00) | - | - | `MPropertySuppressField` |
| `m_nHitGroup` | [HitGroup\_t](/cs2/dumped_data/schema/server/HitGroup_t) | 8 (0x08) | - | - | `MPropertyStartGroup`: "+Hitgroup"<br />`MPropertyDescription`: "The hitgroup this is related to." |
| `m_bDisableHitGroupWhenDestroyed` | [boolean](/cs2/api_reference/lua/base#boolean) | 12 (0x0C) | - | - | `MPropertyDescription`: "Do we disable the hitgroup and physics bodies tagged with said hitgroup when all damage levels are destroyed?"<br />`MPropertyFriendlyName`: "Disable Hit Group & Remove Tagged Physics Bodies When Destroyed" |
| `m_nOtherHitgroupsToDestroyWhenFullyDestructed` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[HitGroup\_t](/cs2/dumped_data/schema/server/HitGroup_t)&gt; | 16 (0x10) | - | - | `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." |
| `m_bOnlyDestroyWhenGibbing` | [boolean](/cs2/api_reference/lua/base#boolean) | 40 (0x28) | - | - | `MPropertyStartGroup`: "+Gibbing"<br />`MPropertyDescription`: "Only allow this part to be destroyed when gibbing.  Useful for special case gibbing breakables like torsos." |
| `m_sBodyGroupName` | [string](/cs2/api_reference/lua/base#string) | 48 (0x30) | - | - | `MPropertyStartGroup`: "+Model Setup/+Body Group"<br />`MPropertyDescription`: "Body group to set when this damage level is broken."<br />`MPropertyAttributeEditor`: "ModelDocPicker( MODELDOC\_PICK\_TYPE\_BODY\_GROUP )" |
| `m_DamageLevels` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[CDestructiblePart\_DamageLevel](/cs2/dumped_data/schema/server/CDestructiblePart_DamageLevel)&gt; | 56 (0x38) | - | - | `MPropertyStartGroup`<br />`MPropertyDescription`: "The various damage levels for this hitgroup."<br />`MPropertyFriendlyName`: "Damage Levels"<br />`MPropertyAutoExpandSelf` |

