mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/PacketIO: Fixed structures of SMSG_INSPECT_RESULT and SMSG_RATED_PVP_INFO
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user