Skip to content

CModelConfigElement

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

Kind: classSize: 72 bytes (0x48)Alignment: unspecified (0xff sentinel)Module: modellibBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Derived by: CModelConfigElement_AttachedModel, CModelConfigElement_Command, CModelConfigElement_RandomColor, CModelConfigElement_RandomPick, CModelConfigElement_SetBodygroup, CModelConfigElement_SetBodygroupOnAttachedModels, CModelConfigElement_SetMaterialGroup, CModelConfigElement_SetMaterialGroupOnAttachedModels, CModelConfigElement_SetRenderColor, CModelConfigElement_UserPick

Used by (1) as a field type

Inheritance tree
Relationship diagram (10 edges)
classDiagram
    CModelConfigElement <|-- CModelConfigElement_AttachedModel
    CModelConfigElement <|-- CModelConfigElement_Command
    CModelConfigElement <|-- CModelConfigElement_RandomColor
    CModelConfigElement <|-- CModelConfigElement_RandomPick
    CModelConfigElement <|-- CModelConfigElement_SetBodygroup
    CModelConfigElement <|-- CModelConfigElement_SetBodygroupOnAttachedModels
    CModelConfigElement <|-- CModelConfigElement_SetMaterialGroup
    CModelConfigElement <|-- CModelConfigElement_SetMaterialGroupOnAttachedModels
    CModelConfigElement <|-- CModelConfigElement_SetRenderColor
    CModelConfigElement <|-- CModelConfigElement_UserPick
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CModelConfigElement

OffsetFieldTypeFromAnnotations
0x8m_ElementNameCUtlString
0x10m_NestedElementsCUtlVector< CModelConfigElement* >