Skip to content

CSmartPropElement

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

Kind: classSize: 136 bytes (0x88)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyFriendlyName Smart Prop Element MVDataAnonymousNode MVDataBase MVDataNodeType 1 MVDataOutlinerLabelExpr m_sLabel

Relationships

Inherits from: nothing; this is a root class.

Derived by: CSmartPropElement_Group, CSmartPropElement_Model, CSmartPropElement_ModelEntity, CSmartPropElement_ModifyState, CSmartPropElement_SmartProp

Used by (2) as a field type

Inheritance tree
Relationship diagram (7 edges)
classDiagram
    CSmartPropElement <|-- CSmartPropElement_Group
    CSmartPropElement <|-- CSmartPropElement_Model
    CSmartPropElement <|-- CSmartPropElement_ModelEntity
    CSmartPropElement <|-- CSmartPropElement_ModifyState
    CSmartPropElement <|-- CSmartPropElement_SmartProp
    CSmartPropElement --> CSmartPropSelectionCriteria
    CSmartPropElement --> CSmartPropModifier
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSmartPropElement

OffsetFieldTypeFromAnnotations
0x8m_nElementIDint32MPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id
0x10m_bEnabledCSmartPropAttributeBoolMPropertyDescription Is this element enabled? If not enabled, this element will not be evaluted and will have no effect on the result. MPropertySortPriority 10 MVDataEnableKey
0x50m_sLabelCUtlStringMPropertyDescription Optional text that will appear in the outliner to help organize Smart Prop elements and communicate their purpose to other users. MPropertyFriendlyName Label
0x58m_SelectionCriteriaCUtlVector< CSmartPropSelectionCriteria* >MPropertyFriendlyName Selection Criteria MVDataPromoteField 2
0x70m_ModifiersCUtlVector< CSmartPropModifier* >MPropertyFriendlyName Modifiers MVDataPromoteField 2
KV3 class defaults
{
	"_class": "CSmartPropElement",
	"m_nElementID": -1,
	"m_bEnabled": true,
	"m_sLabel": "",
	"m_SelectionCriteria":
	[
	],
	"m_Modifiers":
	[
	]
}