CSmartPropFilter_Probability
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 144 bytes (0x90)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Causes the parent element to only be evaluated with a specified random probability. MPropertyFriendlyName Filter: Probability MVDataClassGroup Filter
Relationships
Inherits from: CSmartPropFilter
Inheritance tree
CSmartPropModifier
CSmartPropFilter
- CSmartPropFilter_Probability
Relationship diagram (2 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropFilter
CSmartPropFilter <|-- CSmartPropFilter_ProbabilityMemory layout
2 fields, 1 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropFilter_Probability
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_flProbability | CSmartPropAttributeFloat | MPropertyDescription 0.0 to 1.0 value indicating the probability of this element being evaluated. Where a value of 0 means the element will never be evaluated and 1.0 means it will always be evaluated |
KV3 class defaults
{
"_class": "CSmartPropFilter_Probability",
"m_bEnabled": true,
"m_flProbability": 0.500000
}