CModelConfigElement_AttachedModel
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 232 bytes (0xe8)Alignment: 8 bytesModule: modellibBinary: !GlobalTypes
Relationships
Inherits from: CModelConfigElement
Inheritance tree
CModelConfigElement
- CModelConfigElement_AttachedModel
Relationship diagram (2 edges)
classDiagram
CModelConfigElement <|-- CModelConfigElement_AttachedModel
CModelConfigElement_AttachedModel *-- InfoForResourceTypeCModelMemory layout
15 fields, 13 declared here and 2 inherited. Offsets are absolute from the object base on windows-x86_64.
CModelConfigElementCModelConfigElement_AttachedModel
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_ElementName | CUtlString | CModelConfigElement | |
0x10 | m_NestedElements | CUtlVector< CModelConfigElement* > | CModelConfigElement | |
0x48 | m_InstanceName | CUtlString | ||
0x50 | m_EntityClass | CUtlString | ||
0x58 | m_hModel | CStrongHandle< InfoForResourceTypeCModel > | ||
0x60 | m_vOffset | Vector | ||
0x6c | m_aAngOffset | QAngle | ||
0x78 | m_AttachmentName | CUtlString | ||
0x80 | m_LocalAttachmentOffsetName | CUtlString | ||
0x88 | m_AttachmentType | ModelConfigAttachmentType_t | ||
0x8c | m_bBoneMergeFlex | bool | ||
0x8d | m_bUserSpecifiedColor | bool | ||
0x8e | m_bUserSpecifiedMaterialGroup | bool | ||
0x90 | m_BodygroupOnOtherModels | CUtlString | ||
0x98 | m_MaterialGroupOnOtherModels | CUtlString |
KV3 class defaults
{
"_class": "CModelConfigElement_AttachedModel",
"m_ElementName": "",
"m_NestedElements":
[
],
"m_InstanceName": "",
"m_EntityClass": "",
"m_hModel": "",
"m_vOffset":
[
0.000000,
0.000000,
0.000000
],
"m_aAngOffset":
[
0.000000,
0.000000,
0.000000
],
"m_AttachmentName": "",
"m_LocalAttachmentOffsetName": "",
"m_AttachmentType": "MODEL_CONFIG_ATTACHMENT_ROOT_RELATIVE",
"m_bBoneMergeFlex": false,
"m_bUserSpecifiedColor": false,
"m_bUserSpecifiedMaterialGroup": false,
"m_BodygroupOnOtherModels": "",
"m_MaterialGroupOnOtherModels": ""
}