Skip to content

ConstraintSoundInfo

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

Kind: classSize: 152 bytes (0x98)Alignment: 8 bytesModule: serverBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (2) as a field type

Inheritance tree
  • ConstraintSoundInfo
Relationship diagram (2 edges)
classDiagram
    ConstraintSoundInfo *-- VelocitySampler
    ConstraintSoundInfo *-- SimpleConstraintSoundProfile
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

10 fields, 10 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

ConstraintSoundInfo

OffsetFieldTypeFromAnnotations
0x8m_vSamplerVelocitySamplerMNotSaved
0x20m_soundProfileSimpleConstraintSoundProfile
0x40m_forwardAxisVectorMNotSaved
0x50m_iszTravelSoundFwdCUtlSymbolLarge
0x58m_iszTravelSoundBackCUtlSymbolLarge
0x78m_iszReversalSoundSmallCUtlSymbolLarge
0x80m_iszReversalSoundMediumCUtlSymbolLarge
0x88m_iszReversalSoundLargeCUtlSymbolLarge
0x90m_bPlayTravelSoundboolMNotSaved
0x91m_bPlayReversalSoundboolMNotSaved
KV3 class defaults
{
	"_class": "ConstraintSoundInfo",
	"m_soundProfile":
	{
		"_class": "SimpleConstraintSoundProfile",
		"m_flKeyPointMinSoundThreshold": 0.000000,
		"m_flKeyPointMaxSoundThreshold": 0.000000,
		"m_reversalSoundThresholdSmall": 0.000000,
		"m_reversalSoundThresholdMedium": 0.000000,
		"m_reversalSoundThresholdLarge": 0.000000
	},
	"m_iszTravelSoundFwd": "",
	"m_iszTravelSoundBack": "",
	"m_iszReversalSoundSmall": "",
	"m_iszReversalSoundMedium": "",
	"m_iszReversalSoundLarge": ""
}