Skip to content

CSoundContainerReference

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

Kind: classSize: 32 bytes (0x20)Alignment: 8 bytesModule: soundsystem_voicecontainersBinary: !GlobalTypes

Metadata: MPropertyDescription Reference to a vsnd file or another container. MPropertyFriendlyName Sound

Relationships

Inherits from: nothing; this is a root class.

Used by (8) as a field type

Inheritance tree
  • CSoundContainerReference
Relationship diagram (2 edges)
classDiagram
    CSoundContainerReference *-- InfoForResourceTypeCVoiceContainerBase
    CSoundContainerReference --> CVoiceContainerBase
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSoundContainerReference

OffsetFieldTypeFromAnnotations
0x0m_namespaceCUtlString
0x8m_bUseReferenceboolMPropertyFriendlyName Use Vsnd File
0x10m_soundCStrongHandle< InfoForResourceTypeCVoiceContainerBase >MPropertyFriendlyName Vsnd File MPropertySuppressExpr m_bUseReference == 0
0x18m_pSoundCVoiceContainerBase*MPropertyFriendlyName Vsnd Container MPropertySuppressExpr m_bUseReference == 1
KV3 class defaults
{
	"m_namespace": "",
	"m_bUseReference": true,
	"m_sound": "",
	"m_pSound": null
}