Core/Packets: convert SMSG_REQUEST_PVP_REWARDS_RESPONSE to packet class
This commit is contained in:
1 parent
2715301823
commit
c8f4376a90
3 files changed
+34
-8
No files matched your search
@@ -47,6 +47,17 @@ WorldPacket const* WorldPackets::Misc::SetupCurrency::Write()
|
||||
_worldPacket << uint32(*data.WeeklyQuantity);
|
||||
}
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Misc::RequestPVPRewardsResponse::Write()
|
||||
{
|
||||
_worldPacket << uint32(MaxRewardPointsThisWeek);
|
||||
_worldPacket << uint32(RewardPointsThisWeek);
|
||||
_worldPacket << uint32(ArenaMaxRewardPointsThisWeek);
|
||||
_worldPacket << uint32(RatedRewardPointsThisWeek);
|
||||
_worldPacket << uint32(ArenaRewardPointsThisWeek);
|
||||
_worldPacket << uint32(RatedMaxRewardPointsThisWeek);
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
Reference in new issue
Block a user