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 *-- SimpleConstraintSoundProfileMemory layout
10 fields, 10 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
ConstraintSoundInfo
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_vSampler | VelocitySampler | MNotSaved | |
0x20 | m_soundProfile | SimpleConstraintSoundProfile | ||
0x40 | m_forwardAxis | Vector | MNotSaved | |
0x50 | m_iszTravelSoundFwd | CUtlSymbolLarge | ||
0x58 | m_iszTravelSoundBack | CUtlSymbolLarge | ||
0x78 | m_iszReversalSoundSmall | CUtlSymbolLarge | ||
0x80 | m_iszReversalSoundMedium | CUtlSymbolLarge | ||
0x88 | m_iszReversalSoundLarge | CUtlSymbolLarge | ||
0x90 | m_bPlayTravelSound | bool | MNotSaved | |
0x91 | m_bPlayReversalSound | bool | MNotSaved |
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": ""
}