CSndBeatPattern
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 152 bytes (0x98)Alignment: 8 bytesModule: soundsystemBinary: !GlobalTypes
Metadata: MPropertyArrayElementNameKey m_name MVDataAnonymousNode MVDataOutlinerNameExpr m_name
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- CSndBeatPattern
Relationship diagram (5 edges)
classDiagram
CSndBeatPattern *-- SndBeatTimeSignature_t
CSndBeatPattern *-- SndBeatEventKeys_t
CSndBeatPattern *-- SndBeatEventKeyedFloats_t
CSndBeatPattern *-- SndBeatEventKeyedSndEvts_t
CSndBeatPattern *-- SndBeatEventKeyedMidiNotes_tMemory layout
15 fields, 15 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CSndBeatPattern
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_name | CUtlString | MPropertyFriendlyName Pattern Name | |
0xc | m_launchSyncType | SndBeatLaunchSyncType_t | MPropertyFriendlyName Pattern Launch Type | |
0x10 | m_flSyncPriority | float32 | MPropertyFriendlyName Pattern Launch Priority | |
0x14 | m_timeSignature | SndBeatTimeSignature_t | MPropertyFriendlyName Time Signature | |
0x1c | m_flLength | float32 | MPropertyFriendlyName Length (beats) | |
0x20 | m_bLooping | bool | MPropertyFriendlyName Looping | |
0x24 | m_launchSyncEventType | SndBeatEventType_t | MPropertyFriendlyName Launch Track Event Type MPropertyGroupName Launch Track | |
0x28 | m_flSyncBeatMult | float32 | MPropertyFriendlyName Launch Track Beat/Bar/Phrase/Length Multiplier MPropertyGroupName Launch Track MPropertySuppressExpr m_launchSyncEventType == eSndBeatPatternTypeKeys | |
0x2c | m_playEventType | SndBeatEventType_t | MPropertyFriendlyName Play Track Event Type MPropertyGroupName Playback Track | |
0x30 | m_flPlayBeatMult | float32 | MPropertyFriendlyName Play Track Beat/Bar/Phrase/Length Multiplier MPropertyGroupName Playback Track | |
0x34 | m_keyType | SndBeatKeyType_t | MPropertyFriendlyName Key Type | |
0x38 | m_vecPatternKeys | CUtlVector< SndBeatEventKeys_t > | MPropertySuppressExpr m_keyType != eSndBeatPatternTypeKeys | |
0x50 | m_vecPatternFloats | CUtlVector< SndBeatEventKeyedFloats_t > | MPropertySuppressExpr m_keyType != eSndBeatPatternTypeKeyedFloats | |
0x68 | m_vecPatternSndEvts | CUtlVector< SndBeatEventKeyedSndEvts_t > | MPropertySuppressExpr m_keyType != eSndBeatPatternTypeKeyedSndEvts | |
0x80 | m_vecPatternMidi | CUtlVector< SndBeatEventKeyedMidiNotes_t > | MPropertySuppressExpr m_keyType != eSndBeatPatternTypeKeyedMidi |
KV3 class defaults
{
"m_name": "",
"m_launchSyncType": "eSndBeatLaunchSyncTypeReset",
"m_flSyncPriority": 0.000000,
"m_timeSignature":
{
"nNumerator": 4,
"nDenominator": 4
},
"m_flLength": 4.000000,
"m_bLooping": false,
"m_launchSyncEventType": "eSndBeatEventTypeBeat",
"m_flSyncBeatMult": 1.000000,
"m_playEventType": "eSndBeatEventTypeBeat",
"m_flPlayBeatMult": 1.000000,
"m_keyType": "eSndBeatPatternTypeNone",
"m_vecPatternKeys":
[
],
"m_vecPatternFloats":
[
],
"m_vecPatternSndEvts":
[
],
"m_vecPatternMidi":
[
]
}