Skip to content

CSprayedDataPreset

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

Kind: classSize: 48 bytes (0x30)Alignment: 8 bytesModule: mapdoclibBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

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

Memory layout

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

CSprayedDataPreset

OffsetFieldTypeFromAnnotations
0x0m_nCounterMinint32
0x4m_nCounterMaxint32
0x8m_flSpacingfloat32
0xcm_flRadiusfloat32
0x10m_flEraseAmountfloat32
0x14m_bConstantDensitybool
0x15m_bOnlyHitMeshesbool
0x16m_bRadialFalloffbool
0x18m_elementsCUtlVector< CSprayedDataPresetElement >
KV3 class defaults
{
	"m_nCounterMin": 4,
	"m_nCounterMax": 4,
	"m_flSpacing": 64.000000,
	"m_flRadius": 128.000000,
	"m_flEraseAmount": 1.000000,
	"m_bConstantDensity": true,
	"m_bOnlyHitMeshes": false,
	"m_bRadialFalloff": true,
	"m_elements":
	[
	]
}