Skip to content

CStateMachineComponent

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 104 bytes (0x68)Alignment: 8 bytesModule: animgraphdoclibBinary: !GlobalTypes

Relationships

Inherits from: CAnimGraphDoc_Component, CAnimGraphDoc_StateMachine

Inheritance tree
Relationship diagram (1 edges)
classDiagram
    CAnimGraphDoc_Component <|-- CStateMachineComponent
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

6 fields, 1 declared here and 5 inherited. Offsets are absolute from the object base on windows-x86_64.

CAnimGraphDoc_ComponentCStateMachineComponent

OffsetFieldTypeFromAnnotations
0x18m_groupCUtlStringCAnimGraphDoc_ComponentMPropertySuppressField
0x28m_idAnimComponentIDCAnimGraphDoc_ComponentMPropertySuppressField
0x2cm_bStartEnabledboolCAnimGraphDoc_ComponentMPropertyFriendlyName Start Enabled
0x30m_nPriorityint32CAnimGraphDoc_ComponentMPropertyFriendlyName Priority
0x34m_networkModeAnimNodeNetworkModeCAnimGraphDoc_ComponentMPropertyFriendlyName Network Mode
0x60m_sNameCUtlStringMPropertyFriendlyName Name MPropertySortPriority 100

Also inherits: CAnimGraphDoc_StateMachine. The artifact does not record where a non-primary base sits inside the object, so those fields are not placed in the table above.

KV3 class defaults
{
	"_class": "CStateMachineComponent",
	"m_group": "",
	"m_id":
	{
		"m_id": <HIDDEN FOR DIFF>,
	},
	"m_bStartEnabled": true,
	"m_nPriority": 100,
	"m_networkMode": "ServerAuthoritative",
	"m_states":
	[
	],
	"m_sName": "Unnamed"
}