del
This commit is contained in:
@@ -395,17 +395,11 @@ void ArenaTeam::Disband()
|
||||
sArenaTeamMgr->RemoveArenaTeam(TeamId);
|
||||
}
|
||||
|
||||
void ArenaTeam::SendStats(WorldSession* session)
|
||||
void ArenaTeam::SendStats(WorldSession* /*session*/)
|
||||
{
|
||||
WorldPacket data(SMSG_ARENA_TEAM_STATS, 4*7);
|
||||
data << uint32(GetId()); // team id
|
||||
data << uint32(Stats.Rating); // rating
|
||||
data << uint32(Stats.WeekGames); // games this week
|
||||
data << uint32(Stats.WeekWins); // wins this week
|
||||
data << uint32(Stats.SeasonGames); // played this season
|
||||
data << uint32(Stats.SeasonWins); // wins this season
|
||||
data << uint32(Stats.Rank); // rank
|
||||
session->SendPacket(&data);
|
||||
// Retail has no arena team stats packet since arena teams were replaced by rated
|
||||
// matchmaking - SMSG_ARENA_TEAM_STATS only survives in Opcodes.h as a compile
|
||||
// placeholder with no value, so sending it would put opcode 0xBADD on the wire.
|
||||
}
|
||||
|
||||
void ArenaTeam::NotifyStatsChanged()
|
||||
|
||||
Reference in New Issue
Block a user