Core/Packets: converted SMSG_REQUEST_CEMETERY_LIST_RESPONSE and SMSG_RAID_GROUP_ONLY to packet class

This commit is contained in:
Ovahlord committed 2021-01-10 17:09:16 +01:00
1 parent f9f69bb0fe
commit 18cfca291b
8 files changed
+74 -23

No files matched your search

@@ -465,3 +465,15 @@ WorldPacket const* WorldPackets::Misc::BinderConfirm::Write()
return &_worldPacket;
}
WorldPacket const* WorldPackets::Misc::RequestCemeteryListResponse::Write()
{
_worldPacket.WriteBit(IsGossipTriggered);
_worldPacket.WriteBits(CemeteryID.size(), 24);
_worldPacket.FlushBits();
for (uint32 cemetery : CemeteryID)
_worldPacket << cemetery;
return &_worldPacket;
}