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

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

Schema class in module `soundsystem_voicecontainers`.

## Summary

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

### Metadata

- `MPropertyFriendlyName`: "VSND Enum"
- `MPropertyDescription`: "Switches between a selection of vsnds based on a provided index."

## 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_soundsToPlay` | [CSoundContainerReferenceArray](/cs2/dumped_data/schema/soundsystem_voicecontainers/CSoundContainerReferenceArray) | 120 (0x78) | - | - | `MPropertyFriendlyName`: "Sounds To Play" |
| `m_iSelection` | [number](/cs2/api_reference/lua/base#number) | 176 (0xB0) | - | - | `MPropertyFriendlyName`: "Index" |
| `m_flCrossfadeTime` | [number](/cs2/api_reference/lua/base#number) | 180 (0xB4) | - | - | `MPropertyFriendlyName`: "Crossfade Time" |

## 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 |

