Skip to content

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
Relationship diagram (1 edges)
classDiagram
    CSmartPropSelectionCriteria <|-- CSmartPropSelectionCriteria_ChoiceWeight
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSmartPropSelectionCriteriaCSmartPropSelectionCriteria_ChoiceWeight

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropSelectionCriteriaMVDataEnableKey
0x48m_flWeightCSmartPropAttributeFloatMPropertyDescription 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
}