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 *-- InfoForResourceTypeIPulseGraphDefMemory layout
7 fields, 7 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropRoot
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_nContentVersion | int32 | MPropertyDescription Specifies the current version of this smart prop. Any existing references to this smart prop with an older version number will not automatically update. | |
0x8 | m_nMaxDepth | CSmartPropAttributeInt | MPropertyDescription Maximum depth of smart prop evaluation stack during evaluation. | |
0x48 | m_Variables | CUtlVector< CSmartPropVariable* > | MPropertyFriendlyName Variables MVDataPromoteField 2 | |
0x60 | m_Choices | CUtlVector< CSmartPropChoice* > | MPropertyFriendlyName Choices MVDataPromoteField 2 | |
0x78 | m_Children | CUtlVector< CSmartPropElement* > | MPropertyDescription List of the root level elements making up the smart prop definition, each element may be an entire tree. MVDataPromoteField 1 | |
0x90 | m_Modifiers | CUtlVector< CSmartPropModifier* > | MPropertyFriendlyName Modifiers MVDataPromoteField 2 | |
0xa8 | m_hPulseGraph | CStrongHandle< InfoForResourceTypeIPulseGraphDef > | MPropertySuppressExpr !__IsSmartPropPulseActive |
KV3 class defaults
{
"m_nContentVersion": 0,
"m_nMaxDepth": 32,
"m_Variables":
[
],
"m_Choices":
[
],
"m_Children":
[
],
"m_Modifiers":
[
],
"m_hPulseGraph": ""
}