Core/Packets: Added CMSG_SET_ACTION_BUTTON packet

This commit is contained in:
Intel
2014-12-01 02:03:06 +02:00
parent 3e7e3f2b6e
commit 60ea1265c2
5 changed files with 29 additions and 10 deletions
@@ -57,6 +57,12 @@ WorldPacket const* WorldPackets::Spells::UpdateActionButtons::Write()
return &_worldPacket;
}
void WorldPackets::Spells::SetActionButton::Read()
{
_worldPacket >> Action;
_worldPacket >> Index;
}
WorldPacket const* WorldPackets::Spells::SendUnlearnSpells::Write()
{
_worldPacket << uint32(Spells.size());