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
CSmartPropModifier
CSmartPropOperation
- CSmartPropOperation_SaveDirection
Relationship diagram (4 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropOperation
CSmartPropOperation <|-- CSmartPropOperation_SaveDirection
CSmartPropOperation_SaveDirection *-- CSmartPropAttributeDirection
CSmartPropOperation_SaveDirection *-- CSmartPropAttributeCoordinateSpaceMemory layout
4 fields, 3 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropOperation_SaveDirection
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_DirectionVector | CSmartPropAttributeDirection | MPropertyDescription Specifies which direction vector to save. | |
0x90 | m_CoordinateSpace | CSmartPropAttributeCoordinateSpace | MPropertyDescription Specifies the coordinate space of the saved position value. | |
0xd0 | m_VariableName | CUtlString | MPropertyAttributeEditor SmartPropItemNameEditor( Variable:Vector3 ) |
KV3 class defaults
{
"_class": "CSmartPropOperation_SaveDirection",
"m_bEnabled": true,
"m_DirectionVector": "FORWARD",
"m_CoordinateSpace": "WORLD",
"m_VariableName": ""
}