CRandomNumberGeneratorParameters
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 8 bytes (0x8)Alignment: 4 bytesModule: particlesBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Used by (6) as a field type
- C_INIT_AddVectorToVector
- C_INIT_CreateWithinBox
- C_INIT_OffsetVectorToVector
- C_INIT_PositionOffset
- C_INIT_RandomVector
- C_INIT_VelocityRandom
Inheritance tree
- CRandomNumberGeneratorParameters
Memory layout
2 fields, 2 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CRandomNumberGeneratorParameters
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_bDistributeEvenly | bool | MPropertyFriendlyName Distribute evenly | |
0x4 | m_nSeed | int32 | MPropertyFriendlyName Seed (negative values=randomize) MPropertySuppressExpr !m_bDistributeEvenly |
KV3 class defaults
{
"m_bDistributeEvenly": false,
"m_nSeed": -1
}