Skip to content

CVoiceContainerLoopTrigger

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

Kind: classSize: 160 bytes (0xa0)Alignment: 8 bytesModule: soundsystem_voicecontainersBinary: !GlobalTypes

Metadata: MPropertyDescription Continuously retriggers a sound and optionally fades to the new instance. MPropertyFriendlyName LoopTrigger

Relationships

Inherits from: CVoiceContainerBase

Derived by: CVoiceContainerLoopTriggerWithRandomPanner

Inheritance tree
Relationship diagram (3 edges)
classDiagram
    CVoiceContainerBase <|-- CVoiceContainerLoopTrigger
    CVoiceContainerLoopTrigger <|-- CVoiceContainerLoopTriggerWithRandomPanner
    CVoiceContainerLoopTrigger *-- CSoundContainerReference
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CVoiceContainerBaseCVoiceContainerLoopTrigger

OffsetFieldTypeFromAnnotations
0x28m_vSoundCVSoundCVoiceContainerBaseMPropertySuppressField
0x68m_pEnvelopeAnalyzerCVoiceContainerAnalysisBase*CVoiceContainerBaseMPropertySuppressExpr true
0x70m_flRetriggerTimeMinfloat32
0x74m_flRetriggerTimeMaxfloat32
0x78m_flFadeTimefloat32
0x7cm_bCrossFadebool
0x80m_soundCSoundContainerReferenceMPropertyFriendlyName Vsnd Reference
KV3 class defaults
{
	"_class": "CVoiceContainerLoopTrigger",
	"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_flRetriggerTimeMin": 1.000000,
	"m_flRetriggerTimeMax": 1.000000,
	"m_flFadeTime": 0.500000,
	"m_bCrossFade": false,
	"m_sound":
	{
		"m_namespace": "",
		"m_bUseReference": true,
		"m_sound": "",
		"m_pSound": null
	}
}