Skip to content

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
Relationship diagram (2 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropFilter
    CSmartPropFilter <|-- CSmartPropFilter_Probability
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.

CSmartPropModifierCSmartPropFilter_Probability

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_flProbabilityCSmartPropAttributeFloatMPropertyDescription 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
}