Core/PacketIO: Updated packet structures to 8.1.5
Port TrinityCore Commit: https://github.com/TrinityCore/TrinityCore/commit/31fda79556e55375962a3c9e46f6dbdbf6e90d18
This commit is contained in:
@@ -399,24 +399,6 @@ namespace Game.Arenas
|
||||
}
|
||||
}
|
||||
|
||||
public void Inspect(WorldSession session, ObjectGuid guid)
|
||||
{
|
||||
ArenaTeamMember member = GetMember(guid);
|
||||
if (member == null)
|
||||
return;
|
||||
|
||||
WorldPacket data = new WorldPacket(ServerOpcodes.InspectPvp);
|
||||
data.WritePackedGuid(guid); // player guid
|
||||
data.WriteUInt8(GetSlot()); // slot (0...2)
|
||||
data.WriteUInt32(GetId()); // arena team id
|
||||
data.WriteUInt32(stats.Rating); // rating
|
||||
data.WriteUInt32(stats.SeasonGames); // season played
|
||||
data.WriteUInt32(stats.SeasonWins); // season wins
|
||||
data.WriteUInt32(member.SeasonGames); // played (count of all games, that the inspected member participated...)
|
||||
data.WriteUInt32(member.PersonalRating); // personal rating
|
||||
//session.SendPacket(data);
|
||||
}
|
||||
|
||||
void BroadcastPacket(ServerPacket packet)
|
||||
{
|
||||
foreach (var member in Members)
|
||||
|
||||
Reference in New Issue
Block a user