Core/PacketIO: Named PVPInfo/bracket fields
Port From (https://github.com/TrinityCore/TrinityCore/commit/19990a966b7e9c0b3382509b01d9af47501547e1)
This commit is contained in:
@@ -530,7 +530,7 @@ namespace Game.Networking.Packets
|
||||
public int BestSeasonRating;
|
||||
public int PvpTierID;
|
||||
public int Unused3;
|
||||
public bool Unused4;
|
||||
public bool Disqualified;
|
||||
|
||||
public void Write(WorldPacket data)
|
||||
{
|
||||
@@ -547,7 +547,7 @@ namespace Game.Networking.Packets
|
||||
data.WriteInt32(BestSeasonRating);
|
||||
data.WriteInt32(PvpTierID);
|
||||
data.WriteInt32(Unused3);
|
||||
data.WriteBit(Unused4);
|
||||
data.WriteBit(Disqualified);
|
||||
data.FlushBits();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -297,9 +297,9 @@ namespace Game.Networking.Packets
|
||||
data.WriteInt32(SeasonPlayed);
|
||||
data.WriteInt32(SeasonWon);
|
||||
data.WriteInt32(WeeklyBestRating);
|
||||
data.WriteInt32(Unk710);
|
||||
data.WriteInt32(Unk801_1);
|
||||
data.WriteBit(Unk801_2);
|
||||
data.WriteInt32(SeasonBestRating);
|
||||
data.WriteInt32(PvpTierID);
|
||||
data.WriteBit(Disqualified);
|
||||
data.FlushBits();
|
||||
}
|
||||
|
||||
@@ -310,10 +310,10 @@ namespace Game.Networking.Packets
|
||||
public int SeasonPlayed;
|
||||
public int SeasonWon;
|
||||
public int WeeklyBestRating;
|
||||
public int Unk710;
|
||||
public int Unk801_1;
|
||||
public int SeasonBestRating;
|
||||
public int PvpTierID;
|
||||
public byte Bracket;
|
||||
public bool Unk801_2;
|
||||
public bool Disqualified;
|
||||
}
|
||||
|
||||
public struct AzeriteEssenceData
|
||||
|
||||
Reference in New Issue
Block a user