Skip to content

CSmartPropElement_ModifyState

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: MPropertyDescription An element which is used to apply a set of modifiers to the state of its parent. MPropertyFriendlyName Apply Modifiers MPropertySuppressBaseClassField m_bRestoreState

Relationships

Inherits from: CSmartPropElement

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

Memory layout

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

CSmartPropElement

OffsetFieldTypeFromAnnotations
0x8m_nElementIDint32CSmartPropElementMPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id
0x10m_bEnabledCSmartPropAttributeBoolCSmartPropElementMPropertyDescription 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_sLabelCUtlStringCSmartPropElementMPropertyDescription 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* >CSmartPropElementMPropertyFriendlyName Selection Criteria MVDataPromoteField 2
0x70m_ModifiersCUtlVector< CSmartPropModifier* >CSmartPropElementMPropertyFriendlyName Modifiers MVDataPromoteField 2
KV3 class defaults
{
	"_class": "CSmartPropElement_ModifyState",
	"m_nElementID": -1,
	"m_bEnabled": true,
	"m_sLabel": "",
	"m_SelectionCriteria":
	[
	],
	"m_Modifiers":
	[
	]
}