Skip to content

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_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSndBeatPattern

OffsetFieldTypeFromAnnotations
0x0m_nameCUtlStringMPropertyFriendlyName Pattern Name
0xcm_flSyncPriorityfloat32MPropertyFriendlyName Pattern Priority
0x10m_syncStartTypeSndBeatSyncStartType_tMPropertyFriendlyName Sync Start Type
0x14m_syncTypeSndBeatSyncType_tMPropertyFriendlyName Sync Type
0x18m_timeSignatureSndBeatTimeSignature_tMPropertyFriendlyName Time Signature
0x20m_flLengthfloat32MPropertyFriendlyName Length (beats)
0x24m_bLoopingboolMPropertyFriendlyName Looping
0x28m_playEventTypeSndBeatEventType_tMPropertyFriendlyName Playback Event Type MPropertyStartGroup Playback
0x2cm_flPlayBeatMultfloat32MPropertyFriendlyName Playback Event Beat/Bar/Phrase/Length Multiplier MPropertySuppressExpr m_playEventType == eSndBeatEventTypeKeys
0x30m_playKeyTypeSndBeatKeyType_tMPropertyFriendlyName Key Type MPropertySuppressExpr m_playEventType != eSndBeatEventTypeKeys
0x38m_vecPatternKeysCUtlVector< SndBeatEventKeys_t >MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeys
0x50m_vecPatternFloatsCUtlVector< SndBeatEventKeyedFloats_t >MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeyedFloats
0x68m_vecPatternSndEvtsCUtlVector< SndBeatEventKeyedSndEvts_t >MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeyedSndEvts
0x80m_vecPatternMidiCUtlVector< SndBeatEventKeyedMidiNotes_t >MPropertySuppressExpr m_playKeyType != eSndBeatPatternTypeKeyedMidi
0x98m_syncEventTypeSndBeatEventType_tMPropertyFriendlyName Queue Event Type MPropertyStartGroup Queue
0x9cm_flSyncBeatMultfloat32MPropertyFriendlyName Queue Beat/Bar/Phrase/Length Multiplier MPropertySuppressExpr m_syncEventType == eSndBeatEventTypeKeys
0xa0m_vecSyncPatternKeysCUtlVector< 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":
	[
	]
}