CVoiceContainerRandomSampler
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 424 bytes (0x1a8)Alignment: 8 bytesModule: soundsystem_voicecontainersBinary: !GlobalTypes
Metadata: MPropertyDescription Trash Synth MPropertyFriendlyName Random Sampler Container
Relationships
Inherits from: CVoiceContainerAsyncGenerator
Inheritance tree
CVoiceContainerBase
CVoiceContainerGenerator
CVoiceContainerAsyncGenerator
- CVoiceContainerRandomSampler
Relationship diagram (4 edges)
classDiagram
CVoiceContainerBase <|-- CVoiceContainerGenerator
CVoiceContainerGenerator <|-- CVoiceContainerAsyncGenerator
CVoiceContainerAsyncGenerator <|-- CVoiceContainerRandomSampler
CVoiceContainerRandomSampler *-- InfoForResourceTypeCVoiceContainerBaseMemory layout
8 fields, 6 declared here and 2 inherited. Offsets are absolute from the object base on windows-x86_64.
CVoiceContainerBaseCVoiceContainerRandomSampler
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x28 | m_vSound | CVSound | CVoiceContainerBase | MPropertySuppressField |
0x68 | m_pEnvelopeAnalyzer | CVoiceContainerAnalysisBase* | CVoiceContainerBase | MPropertySuppressExpr true |
0x80 | m_flAmplitude | float32 | ||
0x84 | m_flAmplitudeJitter | float32 | ||
0x88 | m_flTimeJitter | float32 | ||
0x8c | m_flMaxLength | float32 | ||
0x90 | m_nNumDelayVariations | int32 | ||
0x98 | m_grainResources | CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > |
KV3 class defaults
{
"_class": "CVoiceContainerRandomSampler",
"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_flAmplitude": 0.800000,
"m_flAmplitudeJitter": 0.100000,
"m_flTimeJitter": 0.200000,
"m_flMaxLength": -1.000000,
"m_nNumDelayVariations": 0,
"m_grainResources":
[
]
}