CVoiceContainerLoopXFade
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 168 bytes (0xa8)Alignment: 8 bytesModule: soundsystem_voicecontainersBinary: !GlobalTypes
Metadata: MPropertyDescription Sample accurate looping with xfade capabilities. MPropertyFriendlyName Loop XFade
Relationships
Inherits from: CVoiceContainerBase
Inheritance tree
CVoiceContainerBase
- CVoiceContainerLoopXFade
Relationship diagram (2 edges)
classDiagram
CVoiceContainerBase <|-- CVoiceContainerLoopXFade
CVoiceContainerLoopXFade *-- CSoundContainerReferenceMemory layout
10 fields, 8 declared here and 2 inherited. Offsets are absolute from the object base on windows-x86_64.
CVoiceContainerBaseCVoiceContainerLoopXFade
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x28 | m_vSound | CVSound | CVoiceContainerBase | MPropertySuppressField |
0x68 | m_pEnvelopeAnalyzer | CVoiceContainerAnalysisBase* | CVoiceContainerBase | MPropertySuppressExpr true |
0x70 | m_sound | CSoundContainerReference | MPropertyFriendlyName Vsnd Reference | |
0x90 | m_flLoopEnd | float32 | ||
0x94 | m_flLoopStart | float32 | ||
0x98 | m_flFadeOut | float32 | ||
0x9c | m_flFadeIn | float32 | ||
0xa0 | m_bPlayHead | bool | ||
0xa1 | m_bPlayTail | bool | ||
0xa2 | m_bEqualPow | bool |
KV3 class defaults
{
"_class": "CVoiceContainerLoopXFade",
"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_sound":
{
"m_namespace": "",
"m_bUseReference": true,
"m_sound": "",
"m_pSound": null
},
"m_flLoopEnd": 0.000000,
"m_flLoopStart": 0.000000,
"m_flFadeOut": 0.000000,
"m_flFadeIn": 0.000000,
"m_bPlayHead": false,
"m_bPlayTail": false,
"m_bEqualPow": false
}