feat(profile): fix CCharacterComponent struct

This commit is contained in:
gromchek 2025-10-26 20:32:07 +03:00
parent 2aaf543e61
commit 9e800fc5cc
2 changed files with 18 additions and 17 deletions

View file

@ -22,9 +22,8 @@ struct ComponentData
int32_t hairStyleID;
CM2Model* m2Model;
uint32_t flags;
char npcBackedTexturePath[260];
char npcBakedTexturePath[260];
uint32_t geosets[19];
CTexture* characterBaseSkin;
};
struct ItemDisplay
@ -44,6 +43,8 @@ struct CCharacterComponent
EGxTexFormat texFormat;
ComponentData componentData;
CTexture* characterBaseSkin;
// 0 - use in CreateRequest AL/AU/FO/HA/HL/HU/LL/LU/TL funcs ; use display info index 0, 1, 2, 3, 4, 5, 6, 7
// 3 - use in CreateRequestHL func
// 4 - use in CreateRequestHU func

View file

@ -9542,7 +9542,7 @@
},
{
"name": "ComponentData",
"size": 380,
"size": 376,
"members": [
{
"type": "int32_t",
@ -9596,7 +9596,7 @@
},
{
"type": "char",
"name": "npcBackedTexturePath",
"name": "npcBakedTexturePath",
"arrsize": 260,
"offset": 40
},
@ -9605,11 +9605,6 @@
"name": "geosets",
"arrsize": 19,
"offset": 300
},
{
"type": "CTexture*",
"name": "characterBaseSkin",
"offset": 376
}
]
},
@ -34552,6 +34547,11 @@
"name": "componentData",
"offset": 24
},
{
"type": "CTexture*",
"name": "characterBaseSkin",
"offset": 400
},
{
"type": "void*",
"name": "m_textureVariation",