Skip to content

CSmartPropRoot

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

Kind: classSize: 208 bytes (0xd0)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Root of a smart prop, contains a list of elements to evaluate. MPropertyFriendlyName Smart Prop Root MSmartPropClassVersion 0 MVDataFileExtension vsmart MVDataGroupNodeClass MVDataPreviewWidget smart_prop MVDataRoot MVDataSingleton MVDataUsesComponentEditor

Relationships

Inherits from: nothing; this is a root class.

Inheritance tree
  • CSmartPropRoot
Relationship diagram (5 edges)
classDiagram
    CSmartPropRoot --> CSmartPropVariable
    CSmartPropRoot --> CSmartPropChoice
    CSmartPropRoot --> CSmartPropElement
    CSmartPropRoot --> CSmartPropModifier
    CSmartPropRoot *-- InfoForResourceTypeIPulseGraphDef
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSmartPropRoot

OffsetFieldTypeFromAnnotations
0x0m_nContentVersionint32MPropertyDescription Specifies the current version of this smart prop. Any existing references to this smart prop with an older version number will not automatically update.
0x8m_nMaxDepthCSmartPropAttributeIntMPropertyDescription Maximum depth of smart prop evaluation stack during evaluation.
0x48m_VariablesCUtlVector< CSmartPropVariable* >MPropertyFriendlyName Variables MVDataPromoteField 2
0x60m_ChoicesCUtlVector< CSmartPropChoice* >MPropertyFriendlyName Choices MVDataPromoteField 2
0x78m_ChildrenCUtlVector< CSmartPropElement* >MPropertyDescription List of the root level elements making up the smart prop definition, each element may be an entire tree. MVDataPromoteField 1
0x90m_ModifiersCUtlVector< CSmartPropModifier* >MPropertyFriendlyName Modifiers MVDataPromoteField 2
0xa8m_hPulseGraphCStrongHandle< InfoForResourceTypeIPulseGraphDef >MPropertySuppressExpr !__IsSmartPropPulseActive
KV3 class defaults
{
	"m_nContentVersion": 0,
	"m_nMaxDepth": 32,
	"m_Variables":
	[
	],
	"m_Choices":
	[
	],
	"m_Children":
	[
	],
	"m_Modifiers":
	[
	],
	"m_hPulseGraph": ""
}