diff options
| author | fluxurion <zoltan@fatalerror.hu> | 2023-01-02 00:52:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-02 00:52:25 +0100 |
| commit | b71b121c51214d220163a3c278f212b6804ad644 (patch) | |
| tree | 82aaec5048ac2fde93fb3b2ea1bc3fa544558458 /src/server/game/Server | |
| parent | 78ef91975dab193b61c1fd8cc7b94b730b4152c0 (diff) | |
Core/Characters: Added Dracthyr Evoker creation data (#28624)
Diffstat (limited to 'src/server/game/Server')
| -rw-r--r-- | src/server/game/Server/Packets/CharacterPackets.cpp | 2 | ||||
| -rw-r--r-- | src/server/game/Server/Packets/CharacterPackets.h | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/server/game/Server/Packets/CharacterPackets.cpp b/src/server/game/Server/Packets/CharacterPackets.cpp index 9eae2466da9..210b22f9d18 100644 --- a/src/server/game/Server/Packets/CharacterPackets.cpp +++ b/src/server/game/Server/Packets/CharacterPackets.cpp @@ -46,7 +46,7 @@ namespace WorldPackets { namespace Character { -void SortCustomizations(Array<ChrCustomizationChoice, 50>& customizations) +void SortCustomizations(Array<ChrCustomizationChoice, 72>& customizations) { auto first = customizations.begin(); auto last = customizations.end(); diff --git a/src/server/game/Server/Packets/CharacterPackets.h b/src/server/game/Server/Packets/CharacterPackets.h index cf7b14a81ff..d82c45e87e3 100644 --- a/src/server/game/Server/Packets/CharacterPackets.h +++ b/src/server/game/Server/Packets/CharacterPackets.h @@ -60,7 +60,7 @@ namespace WorldPackets uint8 Race = RACE_NONE; uint8 Class = CLASS_NONE; uint8 Sex = GENDER_NONE; - Array<ChrCustomizationChoice, 50> Customizations; + Array<ChrCustomizationChoice, 72> Customizations; Optional<int32> TemplateSet; bool IsTrialBoost = false; bool UseNPE = false; @@ -81,7 +81,7 @@ namespace WorldPackets ObjectGuid CharGUID; uint8 SexID = GENDER_NONE; std::string CharName; - Array<ChrCustomizationChoice, 50> Customizations; + Array<ChrCustomizationChoice, 72> Customizations; }; struct CharRaceOrFactionChangeInfo @@ -92,7 +92,7 @@ namespace WorldPackets ObjectGuid Guid; bool FactionChange = false; std::string Name; - Array<ChrCustomizationChoice, 50> Customizations; + Array<ChrCustomizationChoice, 72> Customizations; }; struct CharacterUndeleteInfo @@ -366,7 +366,7 @@ namespace WorldPackets std::string Name; uint8 SexID = 0; uint8 RaceID = RACE_NONE; - Array<ChrCustomizationChoice, 50> const* Customizations = nullptr; + Array<ChrCustomizationChoice, 72> const* Customizations = nullptr; }; class CharFactionChangeResult final : public ServerPacket @@ -637,7 +637,7 @@ namespace WorldPackets void Read() override; uint8 NewSex = 0; - Array<ChrCustomizationChoice, 50> Customizations; + Array<ChrCustomizationChoice, 72> Customizations; int32 CustomizedRace = 0; }; @@ -744,7 +744,7 @@ namespace WorldPackets ObjectGuid CharGUID; std::string CharName; uint8 SexID = 0; - Array<ChrCustomizationChoice, 50> const& Customizations; + Array<ChrCustomizationChoice, 72> const& Customizations; }; class CharCustomizeFailure final : public ServerPacket |
