This commit is contained in:
luis
2026-09-26 22:32:10 -03:00
parent 36b30fd12a
commit 7288b8fedc
+4 -10
View File
@@ -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()