Skip to content

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

Memory layout

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

CSndBeatPattern

OffsetFieldTypeFromAnnotations
0x0m_nameCUtlStringMPropertyFriendlyName Pattern Name
0xcm_launchSyncTypeSndBeatLaunchSyncType_tMPropertyFriendlyName Pattern Launch Type
0x10m_flSyncPriorityfloat32MPropertyFriendlyName Pattern Launch Priority
0x14m_timeSignatureSndBeatTimeSignature_tMPropertyFriendlyName Time Signature
0x1cm_flLengthfloat32MPropertyFriendlyName Length (beats)
0x20m_bLoopingboolMPropertyFriendlyName Looping
0x24m_launchSyncEventTypeSndBeatEventType_tMPropertyFriendlyName Launch Track Event Type MPropertyGroupName Launch Track
0x28m_flSyncBeatMultfloat32MPropertyFriendlyName Launch Track Beat/Bar/Phrase/Length Multiplier MPropertyGroupName Launch Track MPropertySuppressExpr m_launchSyncEventType == eSndBeatPatternTypeKeys
0x2cm_playEventTypeSndBeatEventType_tMPropertyFriendlyName Play Track Event Type MPropertyGroupName Playback Track
0x30m_flPlayBeatMultfloat32MPropertyFriendlyName Play Track Beat/Bar/Phrase/Length Multiplier MPropertyGroupName Playback Track
0x34m_keyTypeSndBeatKeyType_tMPropertyFriendlyName Key Type
0x38m_vecPatternKeysCUtlVector< SndBeatEventKeys_t >MPropertySuppressExpr m_keyType != eSndBeatPatternTypeKeys
0x50m_vecPatternFloatsCUtlVector< SndBeatEventKeyedFloats_t >MPropertySuppressExpr m_keyType != eSndBeatPatternTypeKeyedFloats
0x68m_vecPatternSndEvtsCUtlVector< SndBeatEventKeyedSndEvts_t >MPropertySuppressExpr m_keyType != eSndBeatPatternTypeKeyedSndEvts
0x80m_vecPatternMidiCUtlVector< 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":
	[
	]
}