Core/Packets: updated SMSG_LOOT_MONEY_NOTIFY, SMSG_COIN_REMOVED, SMSG_LOOT_REMOVED and SMSG_LOOT_RELEASE to packet class
This commit is contained in:
1 parent
4f7eec88dc
commit
c80ce80644
6 files changed
+86
-22
No files matched your search
@@ -17,6 +17,29 @@
|
||||
|
||||
#include "LootPackets.h"
|
||||
|
||||
WorldPacket const* WorldPackets::Loot::LootMoneyNotify::Write()
|
||||
{
|
||||
_worldPacket << uint32(Money);
|
||||
_worldPacket << uint8(SoleLooter);
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Loot::LootRemoved::Write()
|
||||
{
|
||||
_worldPacket << uint8(LootListID);
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Loot::LootReleaseResponse::Write()
|
||||
{
|
||||
_worldPacket << LootObj;
|
||||
_worldPacket << uint8(UnkBool);
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Loot::LootList::Write()
|
||||
{
|
||||
_worldPacket << Owner;
|
||||
|
||||
Reference in new issue
Block a user