[12173] Some battleground changes

- bg list works
- placeholders for pvp rewards and rated bg stats packets
- other bg opcode changes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
Yaki Khadafi 2012-09-03 13:44:28 +03:00 committed by Antz
parent dcc57439a7
commit 372e8e04bf
13 changed files with 163 additions and 86 deletions

View file

@ -23551,3 +23551,29 @@ void Player::ResetCurrencyWeekCounts()
WorldPacket data(SMSG_WEEKLY_RESET_CURRENCIES, 0);
SendDirectMessage(&data);
}
void Player::SendPvPRewards()
{
// Placeholder
WorldPacket data(SMSG_PVP_REWARDS, 6 * 4);
data << uint32(1650); // rbg conquest cap
data << uint32(0); // total conquest earned
data << uint32(1350); // arena conquest cap
data << uint32(0); // rbg conquest earned
data << uint32(0); // arena conquest earned
data << uint32(1650); // total conquest cap
SendDirectMessage(&data);
}
void Player::SendRatedBGStats()
{
// Placeholder
WorldPacket data(SMSG_RATED_BG_STATS, 6 * 4);
for (int i = 0; i < 18; ++i)
data << uint32(i + 1);
SendDirectMessage(&data);
}