CNmGraphDefinition
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 440 bytes (0x1b8)Alignment: 8 bytesModule: animlibBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Inheritance tree
- CNmGraphDefinition
Relationship diagram (5 edges)
classDiagram
CNmGraphDefinition *-- InfoForResourceTypeCNmSkeleton
CNmGraphDefinition --> CNmGraphVariationUserData
CNmGraphDefinition *-- `CNmGraphDefinition::ReferencedGraphSlot_t`
CNmGraphDefinition *-- `CNmGraphDefinition::ExternalGraphSlot_t`
CNmGraphDefinition *-- `CNmGraphDefinition::ExternalPoseSlot_t`Memory layout
14 fields, 14 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CNmGraphDefinition
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_variationID | CGlobalSymbol | ||
0x8 | m_skeleton | CStrongHandle< InfoForResourceTypeCNmSkeleton > | ||
0x10 | m_supportedSecondarySkeletons | CUtlVector< CStrongHandle< InfoForResourceTypeCNmSkeleton > > | ||
0x28 | m_pUserData | CNmGraphVariationUserData* | ||
0x30 | m_persistentNodeIndices | CUtlVector< int16 > | ||
0x48 | m_nRootNodeIdx | int16 | ||
0x50 | m_controlParameterIDs | CUtlVector< CGlobalSymbol > | ||
0x68 | m_virtualParameterIDs | CUtlVector< CGlobalSymbol > | ||
0x80 | m_virtualParameterNodeIndices | CUtlVector< int16 > | ||
0x98 | m_referencedGraphSlots | CUtlVector< CNmGraphDefinition::ReferencedGraphSlot_t > | ||
0xb0 | m_externalGraphSlots | CUtlVector< CNmGraphDefinition::ExternalGraphSlot_t > | ||
0xc8 | m_externalPoseSlots | CUtlVector< CNmGraphDefinition::ExternalPoseSlot_t > | ||
0x150 | m_nodePaths | CUtlVector< CUtlString > | ||
0x168 | m_resources | CUtlVector< CStrongHandleVoid > |
KV3 class defaults
{
"m_variationID": "",
"m_skeleton": "",
"m_supportedSecondarySkeletons":
[
],
"m_pUserData": null,
"m_persistentNodeIndices":
[
],
"m_nRootNodeIdx": -1,
"m_controlParameterIDs":
[
],
"m_virtualParameterIDs":
[
],
"m_virtualParameterNodeIndices":
[
],
"m_referencedGraphSlots":
[
],
"m_externalGraphSlots":
[
],
"m_externalPoseSlots":
[
],
"m_nodePaths":
[
],
"m_resources":
[
],
"m_nodes":
[
]
}