What's wrong? CharStartKit.db2 C++ structure fiel...
# master
j
What's wrong? CharStartKit.db2 C++ structure fields sfff do not match generated types from the client sfffffffffbiiiiiiiifii
Copy code
cpp
struct CharStartKitLoadInfo
{
    static constexpr DB2FieldMeta Fields[23] =
    {
        {.IsSigned = false, .Type = FT_INT,   .Name = "ID" },
        {.IsSigned = true, .Type = FT_STRING, .Name = "ZoneName" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "AlteredFormCustomizeOffset1" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "AlteredFormCustomizeOffset2" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "AlteredFormCustomizeOffset3" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "ChrModel_9_0_1_35522_001Override1" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "ChrModel_9_0_1_35522_001Override2" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "ChrModel_9_0_1_35522_001Override3" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "ChrModel_9_0_1_35522_001Override_Female1" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "ChrModel_9_0_1_35522_001Override_Female2" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "ChrModel_9_0_1_35522_001Override_Female3" },
        {.IsSigned = true, .Type = FT_BYTE,   .Name = "ChrClassesID" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "ZoneImageAtlas" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "MaleCharacterCreationVisual" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "MaleCharacterCreationIdleVisual" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "FemaleCharacterCreationVisual" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "FemaleCharacterCreationIdleVisual" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "CharacterCreationIdleGroundVisual" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "CharacterCreationGroundVisual" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "AlteredFormCharacterCreationIdleVisual" },
        {.IsSigned = true, .Type = FT_FLOAT,  .Name = "AlteredFormCustomizeRotation" },
        {.IsSigned = true, .Type = FT_INT,    .Name = "CharacterCreationAnimLoopWaitTimeMs" },
        {.IsSigned = true, .Type = FT_BYTE,   .Name = "ChrRacesID" },
    };

    static constexpr DB2LoadInfo Instance{ Fields, 5, &CharStartKitMeta::Instance, HOTFIX_SEL_CHAR_START_KIT };
};
Copy code
cpp
struct CharStartKitEntry
{
    uint32 ID;
    std::string ZoneName;
    std::array<float, 3>  AlteredFormCustomizeOffset;
    std::array<float, 3>  ChrModel_9_0_1_35522_001Override;
    std::array<float, 3>  ChrModel_9_0_1_35522_001Override_Female;
    uint8 ChrClassesID;
    uint32 ZoneImageAtlas;
    uint32 MaleCharacterCreationVisual;
    uint32 MaleCharacterCreationIdleVisual;
    uint32 FemaleCharacterCreationVisual;
    uint32 FemaleCharacterCreationIdleVisual;
    uint32 CharacterCreationIdleGroundVisual;
    uint32 CharacterCreationGroundVisual;
    uint32 AlteredFormCharacterCreationIdleVisual;
    float AlteredFormCustomizeRotation;
    uint32 CharacterCreationAnimLoopWaitTimeMs;
    uint8 ChrRacesID;
};
Copy code
$noninline,id$ID<32>
ZoneName_lang
AlteredFormCustomizeOffset[3]
ChrModel_9_0_1_35522_001Override[3]
ChrModel_9_0_1_35522_001Override_Female[3]
ChrClassesID<8>
ZoneImageAtlas<32>
MaleCharacterCreationVisual<32>
MaleCharacterCreationIdleVisual<32>
FemaleCharacterCreationVisual<32>
FemaleCharacterCreationIdleVisual<32>
CharacterCreationIdleGroundVisual<32>
CharacterCreationGroundVisual<32>
AlteredFormCharacterCreationIdleVisual<32>
AlteredFormCustomizeRotation
CharacterCreationAnimLoopWaitTimeMs<32>
$noninline,relation$ChrRacesID<8>