Core/PacketIO: Fixed structures of SMSG_INSPECT_RESULT and SMSG_RATED_PVP_INFO

This commit is contained in:
Shauren
2024-03-06 11:23:15 +01:00
parent f5fdadc6ca
commit ecf302ac49
2 changed files with 4 additions and 4 deletions

View File

@@ -441,7 +441,7 @@ namespace WorldPackets
class RatedPvpInfo final : public ServerPacket
{
public:
RatedPvpInfo() : ServerPacket(SMSG_RATED_PVP_INFO, 7 * sizeof(BracketInfo)) { }
RatedPvpInfo() : ServerPacket(SMSG_RATED_PVP_INFO, 9 * sizeof(BracketInfo)) { }
WorldPacket const* Write() override;
@@ -467,7 +467,7 @@ namespace WorldPackets
int32 Unused4 = 0;
int32 Rank = 0;
bool Disqualified = false;
} Bracket[7];
} Bracket[9];
};
struct RatedMatchDeserterPenalty

View File

@@ -127,7 +127,7 @@ namespace WorldPackets
class InspectResult final : public ServerPacket
{
public:
InspectResult() : ServerPacket(SMSG_INSPECT_RESULT, 45)
InspectResult() : ServerPacket(SMSG_INSPECT_RESULT, 4096)
{
PvpTalents.fill(0);
}
@@ -139,7 +139,7 @@ namespace WorldPackets
std::vector<uint16> Talents;
std::array<uint16, MAX_PVP_TALENT_SLOTS> PvpTalents;
Optional<InspectGuildData> GuildData;
std::array<PVPBracketData, 7> Bracket;
std::array<PVPBracketData, 9> Bracket;
Optional<int32> AzeriteLevel;
int32 ItemLevel = 0;
uint32 LifetimeHK = 0;