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

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

Schema class in module `soundsystem_voicecontainers`.

## Summary

- Kind: `class`
- Module: `soundsystem_voicecontainers`
- Size: `32 (0x20)`
- Size bytes: `32`
- Parent: `value.DeclaredClass`
- Inherited fields: `0`
- Product: Counter-Strike 2

### Metadata

- `MPropertyFriendlyName`: "Sound"
- `MPropertyDescription`: "Reference to a vsnd file or another container."

## Inheritance

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

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_namespace` | [string](/cs2/api_reference/lua/base#string) | 0 (0x00) | - | - | - |
| `m_bUseReference` | [boolean](/cs2/api_reference/lua/base#boolean) | 8 (0x08) | - | - | `MPropertyFriendlyName`: "Use Vsnd File" |
| `m_sound` | [value.View](/cs2/api_reference/engine/value#valueview) | 16 (0x10) | - | - | `MPropertySuppressExpr`: "m\_bUseReference == 0"<br />`MPropertyFriendlyName`: "Vsnd File" |
| `m_pSound` | [CVoiceContainerBase](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerBase)? | 24 (0x18) | - | - | `MPropertySuppressExpr`: "m\_bUseReference == 1"<br />`MPropertyFriendlyName`: "Vsnd Container" |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [CVoiceContainerBlender](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerBlender) | `m_firstSound` | soundsystem\_voicecontainers | - |
| [CVoiceContainerBlender](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerBlender) | `m_secondSound` | soundsystem\_voicecontainers | - |
| [CVoiceContainerLoopTrigger](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerLoopTrigger) | `m_sound` | soundsystem\_voicecontainers | - |
| [CVoiceContainerLoopXFade](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerLoopXFade) | `m_sound` | soundsystem\_voicecontainers | - |
| [CVoiceContainerParameterBlender](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerParameterBlender) | `m_firstSound` | soundsystem\_voicecontainers | - |
| [CVoiceContainerParameterBlender](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerParameterBlender) | `m_secondSound` | soundsystem\_voicecontainers | - |
| [CVoiceContainerSetElement](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerSetElement) | `m_sound` | soundsystem\_voicecontainers | - |
| [CVoiceContainerSwitch](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerSwitch) | `m_soundsToPlay` | soundsystem\_voicecontainers | - |
| [CVsndRadioButtonSlot](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVsndRadioButtonSlot) | `m_vsnd` | soundsystem\_voicecontainers | - |
| [CVsndRadioButtonSlot](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVsndRadioButtonSlot) | `m_endcapVsnd` | soundsystem\_voicecontainers | - |
| [CVsndRadioButtonSlot](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVsndRadioButtonSlot) | `m_loopcapVsnd` | soundsystem\_voicecontainers | - |
| [CVsndTriggerSlot](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVsndTriggerSlot) | `m_vsnd` | soundsystem\_voicecontainers | - |
| [CVsndTriggerSlot](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVsndTriggerSlot) | `m_endcapVsnd` | soundsystem\_voicecontainers | - |
| [CVsndTriggerSlot](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVsndTriggerSlot) | `m_loopcapVsnd` | soundsystem\_voicecontainers | - |

