CSmartPropChoice
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 56 bytes (0x38)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyFriendlyName Choice MVDataAnonymousNode MVDataOutlinerNameExpr m_Name
Relationships
Inherits from: CSmartPropParameter
Used by (1) as a field type
Inheritance tree
CSmartPropParameter
- CSmartPropChoice
Relationship diagram (2 edges)
classDiagram
CSmartPropParameter <|-- CSmartPropChoice
CSmartPropChoice *-- CSmartPropChoiceOptionMemory layout
4 fields, 3 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropParameterCSmartPropChoice
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_nElementID | int32 | CSmartPropParameter | MPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id |
0x10 | m_Name | CUtlString | MPropertyFriendlyName Choice Name | |
0x18 | m_DefaultOption | CUtlString | MPropertyAttributeChoiceName smartprop_choice_options | |
0x20 | m_Options | CUtlVector< CSmartPropChoiceOption > | MPropertyAutoExpandSelf |
KV3 class defaults
{
"_class": "CSmartPropChoice",
"m_nElementID": -1,
"m_Name": "",
"m_DefaultOption": "",
"m_Options":
[
]
}