Skip to content

CSprayedDataPresetElement

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

Kind: classSize: 144 bytes (0x90)Alignment: 8 bytesModule: mapdoclibBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (1) as a field type

Inheritance tree
  • CSprayedDataPresetElement
Relationship diagram (1 edges)
classDiagram
    CSprayedDataPresetElement *-- CSprayedDataSettingsBlock
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSprayedDataPresetElement

OffsetFieldTypeFromAnnotations
0x0m_assetNameCUtlString
0x18m_vBoundsMinVector
0x24m_vBoundsMaxVector
0x30m_settingsCSprayedDataSettingsBlock
KV3 class defaults
{
	"m_assetName": "",
	"m_vBoundsMin":
	[
		340282346638528859811704183484516925440.000000,
		340282346638528859811704183484516925440.000000,
		340282346638528859811704183484516925440.000000
	],
	"m_vBoundsMax":
	[
		-340282346638528859811704183484516925440.000000,
		-340282346638528859811704183484516925440.000000,
		-340282346638528859811704183484516925440.000000
	],
	"m_settings":
	{
		"m_flMinDensity": 1.000000,
		"m_flMaxDensity": 1.000000,
		"m_flMinScale": 0.500000,
		"m_flMaxScale": 1.000000,
		"m_vMinAngle":
		[
			0.000000,
			0.000000,
			0.000000
		],
		"m_vMaxAngle":
		[
			0.000000,
			360.000000,
			0.000000
		],
		"m_vMinColor":
		[
			1.000000,
			1.000000,
			1.000000
		],
		"m_vMaxColor":
		[
			1.000000,
			1.000000,
			1.000000
		],
		"m_flSpacingMul": 1.000000,
		"m_flSlopeThreshold": 100000.000000,
		"m_vMasterDirection":
		[
			0.000000,
			0.000000,
			1.000000
		],
		"m_flMasterDirectionInfluence": 0.000000,
		"m_bEnabled": true
	}
}