Skip to content

CSmartPropOperation_SaveDirection

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

Kind: classSize: 216 bytes (0xd8)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Save the specified direction vector to a specified variable, in the requested coordinate space MPropertyFriendlyName Save Direction Vector MVDataClassGroup State

Relationships

Inherits from: CSmartPropOperation

Inheritance tree
Relationship diagram (4 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropOperation
    CSmartPropOperation <|-- CSmartPropOperation_SaveDirection
    CSmartPropOperation_SaveDirection *-- CSmartPropAttributeDirection
    CSmartPropOperation_SaveDirection *-- CSmartPropAttributeCoordinateSpace
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

4 fields, 3 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.

CSmartPropModifierCSmartPropOperation_SaveDirection

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_DirectionVectorCSmartPropAttributeDirectionMPropertyDescription Specifies which direction vector to save.
0x90m_CoordinateSpaceCSmartPropAttributeCoordinateSpaceMPropertyDescription Specifies the coordinate space of the saved position value.
0xd0m_VariableNameCUtlStringMPropertyAttributeEditor SmartPropItemNameEditor( Variable:Vector3 )
KV3 class defaults
{
	"_class": "CSmartPropOperation_SaveDirection",
	"m_bEnabled": true,
	"m_DirectionVector": "FORWARD",
	"m_CoordinateSpace": "WORLD",
	"m_VariableName": ""
}