CSndBeatPattern
CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 184 bytes (0xb8)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
17 fields, 17 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_flSyncPriority | float32 | MPropertyFriendlyName Pattern Priority | |
0x10 | m_syncStartType | SndBeatSyncStartType_t | MPropertyFriendlyName Sync Start Type | |
0x14 | m_syncType | SndBeatSyncType_t | MPropertyFriendlyName Sync Type | |
0x18 | m_timeSignature | SndBeatTimeSignature_t | MPropertyFriendlyName Time Signature | |
0x20 | m_flLength | float32 | MPropertyFriendlyName Length (beats) | |
0x24 | m_bLooping | bool | MPropertyFriendlyName Looping | |
0x28 | m_playEventType | SndBeatEventType_t | MPropertyFriendlyName Playback Event Type MPropertyStartGroup Playback | |
0x2c | m_flPlayBeatMult | float32 | MPropertyFriendlyName Playback Event Beat/Bar/Phrase/Length Multiplier MPropertySuppressExpr m_playEventType == eSndBeatEventTypeKeys | |
0x30 | m_playKeyType | SndBeatKeyType_t | MPropertyFriendlyName Key Type MPropertySuppressExpr m_playEventType != eSndBeatEventTypeKeys | |
0x38 | m_vecPatternKeys | CUtlVector< SndBeatEventKeys_t > | MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeys | |
0x50 | m_vecPatternFloats | CUtlVector< SndBeatEventKeyedFloats_t > | MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeyedFloats | |
0x68 | m_vecPatternSndEvts | CUtlVector< SndBeatEventKeyedSndEvts_t > | MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeyedSndEvts | |
0x80 | m_vecPatternMidi | CUtlVector< SndBeatEventKeyedMidiNotes_t > | MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeyedMidi | |
0x98 | m_syncEventType | SndBeatEventType_t | MPropertyFriendlyName Queue Event Type MPropertyStartGroup Queue | |
0x9c | m_flSyncBeatMult | float32 | MPropertyFriendlyName Queue Beat/Bar/Phrase/Length Multiplier MPropertySuppressExpr m_syncEventType == eSndBeatEventTypeKeys | |
0xa0 | m_vecSyncPatternKeys | CUtlVector< SndBeatEventKeys_t > | MPropertySuppressExpr m_syncEventType != eSndBeatEventTypeKeys |
KV3 class defaults
{
"m_name": "",
"m_flSyncPriority": 0.000000,
"m_syncStartType": "eSndBeatSyncStartTypeImmediate",
"m_syncType": "eSndBeatSyncTypeReset",
"m_timeSignature":
{
"nNumerator": 4,
"nDenominator": 4
},
"m_flLength": 4.000000,
"m_bLooping": false,
"m_playEventType": "eSndBeatEventTypeBeat",
"m_flPlayBeatMult": 1.000000,
"m_playKeyType": "eSndBeatPatternTypeKeys",
"m_vecPatternKeys":
[
],
"m_vecPatternFloats":
[
],
"m_vecPatternSndEvts":
[
],
"m_vecPatternMidi":
[
],
"m_syncEventType": "eSndBeatEventTypeBeat",
"m_flSyncBeatMult": 1.000000,
"m_vecSyncPatternKeys":
[
]
}