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
- CVoiceContainerBlender
- CVoiceContainerLoopTrigger
- CVoiceContainerLoopXFade
- CVoiceContainerParameterBlender
- CVoiceContainerSetElement
- CVoiceContainerSwitch
- CVsndRadioButtonSlot
- CVsndTriggerSlot
Inheritance tree
- CSoundContainerReference
Relationship diagram (2 edges)
classDiagram
CSoundContainerReference *-- InfoForResourceTypeCVoiceContainerBase
CSoundContainerReference --> CVoiceContainerBaseMemory layout
4 fields, 4 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CSoundContainerReference
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_namespace | CUtlString | ||
0x8 | m_bUseReference | bool | MPropertyFriendlyName Use Vsnd File | |
0x10 | m_sound | CStrongHandle< InfoForResourceTypeCVoiceContainerBase > | MPropertyFriendlyName Vsnd File MPropertySuppressExpr m_bUseReference == 0 | |
0x18 | m_pSound | CVoiceContainerBase* | MPropertyFriendlyName Vsnd Container MPropertySuppressExpr m_bUseReference == 1 |
KV3 class defaults
{
"m_namespace": "",
"m_bUseReference": true,
"m_sound": "",
"m_pSound": null
}