Core/Packets: fixed SMSG_ENUM_CHARACTERS_RESULT packet structure

This commit is contained in:
Ovahlord
2023-11-15 21:20:41 +01:00
parent 04632fa1c3
commit cdda4c4223
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,6 @@ ByteBuffer& operator<<(ByteBuffer& data, EnumCharactersResult::CharacterInfo con
data << uint32(charInfo.MailSenders.size());
data << uint32(charInfo.MailSenderTypes.size());
data << uint32(charInfo.OverrideSelectScreenFileDataID);
data << charInfo.PersonalTabard;
for (ChrCustomizationChoice const& customization : charInfo.Customizations)
data << customization;
@@ -246,6 +245,7 @@ ByteBuffer& operator<<(ByteBuffer& data, EnumCharactersResult::CharacterInfo con
data.WriteBit(charInfo.FirstLogin);
data.WriteBit(charInfo.BoostInProgress);
data.WriteBits(charInfo.unkWod61x, 5);
data.WriteBits(0, 2); // unknown
data.WriteBit(charInfo.RpeResetAvailable);
data.WriteBit(charInfo.RpeResetQuestClearAvailable);

View File

@@ -169,7 +169,7 @@ namespace WorldPackets
uint8 Subclass = 0;
};
std::array<VisualItemInfo, 35> VisualItems = { };
std::array<VisualItemInfo, 34> VisualItems = { };
std::vector<std::string> MailSenders;
std::vector<uint32> MailSenderTypes;
bool RpeResetAvailable = false;