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

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

Schema class in module `soundsystem_voicecontainers`.

## Summary

- Kind: `class`
- Module: `soundsystem_voicecontainers`
- Size: `240 (0xF0)`
- Size bytes: `240`
- Parent: `CVoiceContainerBase`
- Inherited fields: `4`
- Product: Counter-Strike 2

### Metadata

- `MPropertyFriendlyName`: "Selector"
- `MPropertyDescription`: "Plays a selected vsnd on playback."

## Inheritance

- [CVoiceContainerBase](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerBase) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_mode` | [PlayBackMode\_t](/cs2/dumped_data/schema/soundsystem_voicecontainers/PlayBackMode_t) | 120 (0x78) | - | - | `MPropertyFriendlyName`: "Playback Mode" |
| `m_soundsToPlay` | [CSoundContainerReferenceArray](/cs2/dumped_data/schema/soundsystem_voicecontainers/CSoundContainerReferenceArray) | 128 (0x80) | - | - | `MPropertyFriendlyName`: "Sounds To play" |
| `m_fProbabilityWeights` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[number](/cs2/api_reference/lua/base#number)&gt; | 184 (0xB8) | - | - | `MPropertyFriendlyName`: "Relative Weights" |

## Inherited Fields From CVoiceContainerBase

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_bRegisteredVMix` | [boolean](/cs2/api_reference/lua/base#boolean) | 16 (0x10) | - | - | - |
| `m_nResourceName` | [string](/cs2/api_reference/lua/base#string)\|[integer](/cs2/api_reference/lua/base#integer) | 20 (0x14) | - | - | - |
| `m_vSound` | [CVSound](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVSound) | 48 (0x30) | - | - | `MPropertySuppressField` |
| `m_pEnvelopeAnalyzer` | [CVoiceContainerAnalysisBase](/cs2/dumped_data/schema/soundsystem_voicecontainers/CVoiceContainerAnalysisBase)? | 112 (0x70) | - | - | `MPropertySuppressExpr`: true |

