CSmartPropSelectionCriteria_ChoiceWeight
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 Specifies a weighting value which affects that likelyhood of selecting this element which picking a choice. MPropertyFriendlyName Choice Weight MVDataComponentValidGrandParents
Relationships
Inherits from: CSmartPropSelectionCriteria
Inheritance tree
CSmartPropSelectionCriteria
- CSmartPropSelectionCriteria_ChoiceWeight
Relationship diagram (1 edges)
classDiagram
CSmartPropSelectionCriteria <|-- CSmartPropSelectionCriteria_ChoiceWeightMemory layout
2 fields, 1 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropSelectionCriteriaCSmartPropSelectionCriteria_ChoiceWeight
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropSelectionCriteria | MVDataEnableKey |
0x48 | m_flWeight | CSmartPropAttributeFloat | MPropertyDescription Relative weight of this choice, higher weighted choices are more likely to be selected. |
KV3 class defaults
{
"_class": "CSmartPropSelectionCriteria_ChoiceWeight",
"m_bEnabled": true,
"m_flWeight": 1.000000
}