Skip to content

CVoiceContainerEnum

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

Kind: classSize: 176 bytes (0xb0)Alignment: 8 bytesModule: soundsystem_voicecontainersBinary: !GlobalTypes

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

Relationships

Inherits from: CVoiceContainerBase

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CVoiceContainerBase <|-- CVoiceContainerEnum
    CVoiceContainerEnum *-- CSoundContainerReferenceArray
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

5 fields, 3 declared here and 2 inherited. Offsets are absolute from the object base on windows-x86_64.

CVoiceContainerBaseCVoiceContainerEnum

OffsetFieldTypeFromAnnotations
0x28m_vSoundCVSoundCVoiceContainerBaseMPropertySuppressField
0x68m_pEnvelopeAnalyzerCVoiceContainerAnalysisBase*CVoiceContainerBaseMPropertySuppressExpr true
0x70m_soundsToPlayCSoundContainerReferenceArrayMPropertyFriendlyName Sounds To Play
0xa8m_iSelectionint32MPropertyFriendlyName Index
0xacm_flCrossfadeTimefloat32MPropertyFriendlyName Crossfade Time
KV3 class defaults
{
	"_class": "CVoiceContainerEnum",
	"m_vSound":
	{
		"m_Sentences":
		[
		],
		"m_nRate": 0,
		"m_nFormat": "PCM16",
		"m_nChannels": 0,
		"m_nLoopStart": 0,
		"m_nSampleCount": 0,
		"m_flDuration": 0.000000,
		"m_nStreamingSize": 0,
		"m_nLoopEnd": 0
	},
	"m_pEnvelopeAnalyzer": null,
	"m_soundsToPlay":
	{
		"m_bUseReference": true,
		"m_sounds":
		[
		],
		"m_pSounds":
		[
		]
	},
	"m_iSelection": 0,
	"m_flCrossfadeTime": 0.100000
}