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
CSmartPropElement (5)
Relationship diagram (7 edges)
classDiagram
CSmartPropElement <|-- CSmartPropElement_Group
CSmartPropElement <|-- CSmartPropElement_Model
CSmartPropElement <|-- CSmartPropElement_ModelEntity
CSmartPropElement <|-- CSmartPropElement_ModifyState
CSmartPropElement <|-- CSmartPropElement_SmartProp
CSmartPropElement --> CSmartPropSelectionCriteria
CSmartPropElement --> CSmartPropModifierMemory layout
5 fields, 5 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropElement
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_nElementID | int32 | MPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id | |
0x10 | m_bEnabled | CSmartPropAttributeBool | MPropertyDescription Is this element enabled? If not enabled, this element will not be evaluted and will have no effect on the result. MPropertySortPriority 10 MVDataEnableKey | |
0x50 | m_sLabel | CUtlString | MPropertyDescription Optional text that will appear in the outliner to help organize Smart Prop elements and communicate their purpose to other users. MPropertyFriendlyName Label | |
0x58 | m_SelectionCriteria | CUtlVector< CSmartPropSelectionCriteria* > | MPropertyFriendlyName Selection Criteria MVDataPromoteField 2 | |
0x70 | m_Modifiers | CUtlVector< CSmartPropModifier* > | MPropertyFriendlyName Modifiers MVDataPromoteField 2 |
KV3 class defaults
{
"_class": "CSmartPropElement",
"m_nElementID": -1,
"m_bEnabled": true,
"m_sLabel": "",
"m_SelectionCriteria":
[
],
"m_Modifiers":
[
]
}