Skip to content

CSoundPatch

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 176 bytes (0xb0)Alignment: unspecified (0xff sentinel)Module: serverBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (1) as a field type

Inheritance tree
  • CSoundPatch
Relationship diagram (3 edges)
classDiagram
    CSoundPatch *-- CSoundEnvelope
    CSoundPatch --> CBaseEntity
    CSoundPatch *-- CCopyRecipientFilter
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSoundPatch

OffsetFieldTypeFromAnnotations
0x8m_pitchCSoundEnvelope
0x18m_volumeCSoundEnvelope
0x3cm_shutdownTimefloat32
0x40m_flLastTimefloat32
0x48m_iszSoundScriptNameCUtlSymbolLarge
0x50m_hEntCHandle< CBaseEntity >
0x54m_soundEntityIndexCEntityIndexMNotSaved
0x58m_soundOriginVectorWSMNotSaved
0x64m_isPlayingint32
0x68m_FilterCCopyRecipientFilter
0xa0m_flCloseCaptionDurationfloat32
0xa4m_bUpdatedSoundOriginboolMNotSaved
0xa8m_iszClassNameCUtlSymbolLargeMNotSaved