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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user