ColorChoice_t
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 128 bytes (0x80)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- ColorChoice_t
Memory layout
2 fields, 2 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
ColorChoice_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_Color | CSmartPropAttributeColor | MPropertyDescription Color to be applied if this choice is selected. | |
0x40 | m_flWeight | CSmartPropAttributeFloat | MPropertyDescription Relative weight of this choice, higher weighted choices are more likely to be selected. |
KV3 class defaults
{
"m_Color":
[
255,
255,
255
],
"m_flWeight": 1.000000
}