Skip to content

CMotionSearchDB

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

Kind: classSize: 184 bytes (0xb8)Alignment: 8 bytesModule: animgraphlibBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Used by (1) as a field type

Inheritance tree
  • CMotionSearchDB
Relationship diagram (3 edges)
classDiagram
    CMotionSearchDB *-- CMotionSearchNode
    CMotionSearchDB *-- CProductQuantizer
    CMotionSearchDB *-- MotionDBIndex
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CMotionSearchDB

OffsetFieldTypeFromAnnotations
0x0m_rootNodeCMotionSearchNode
0x80m_residualQuantizerCProductQuantizer
0xa0m_codeIndicesCUtlVector< MotionDBIndex >
KV3 class defaults
{
	"m_rootNode":
	{
		"m_children":
		[
		],
		"m_quantizer":
		{
			"m_centroidVectors":
			[
			],
			"m_nCentroids": 0,
			"m_nDimensions": 0
		},
		"m_sampleCodes":
		[
		],
		"m_sampleIndices":
		[
		],
		"m_selectableSamples":
		[
		]
	},
	"m_residualQuantizer":
	{
		"m_subQuantizers":
		[
		],
		"m_nDimensions": 0
	},
	"m_codeIndices":
	[
	]
}