Skip to content

CSmartPropOperation_SetTintColor

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 296 bytes (0x128)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Set the color tint to one color out of a pre-selected set of colors. MPropertyFriendlyName Tint Color Choice MVDataClassGroup Color

Relationships

Inherits from: CSmartPropOperation

Inheritance tree
Relationship diagram (5 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropOperation
    CSmartPropOperation <|-- CSmartPropOperation_SetTintColor
    CSmartPropOperation_SetTintColor *-- CSmartPropAttributeChoiceSelectionMode
    CSmartPropOperation_SetTintColor *-- CSmartPropAttributeApplyColorMode
    CSmartPropOperation_SetTintColor *-- ColorChoice_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSmartPropModifierCSmartPropOperation_SetTintColor

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_SelectionModeCSmartPropAttributeChoiceSelectionModeMPropertyDescription Specifies how the color is to be selected from the authored set of choices MPropertyFriendlyName Selection Mode
0x90m_ColorSelectionCSmartPropAttributeIntMPropertyDescription Specifies the index of the color to pick MPropertyFriendlyName Color Selection MPropertySuppressExpr ( m_SelectionMode != SPECIFIC )
0xd0m_ModeCSmartPropAttributeApplyColorModeMPropertyDescription Specifies how the selected color should be applied to the current color. MPropertyFriendlyName Application Mode
0x110m_ColorChoicesCUtlVector< ColorChoice_t >MPropertyDescription List of possible colors which may be selected
KV3 class defaults
{
	"_class": "CSmartPropOperation_SetTintColor",
	"m_bEnabled": true,
	"m_SelectionMode": "RANDOM",
	"m_ColorSelection": 0,
	"m_Mode": "MULTIPLY_OBJECT",
	"m_ColorChoices":
	[
	]
}