Core/Packets: enabled and implemented SMSG_PET_DISMISS_SOUND

This commit is contained in:
Ovahlord committed 2022-12-11 14:41:43 +01:00
1 parent fa1510990d
commit d98398f38c
5 files changed
+81 -1

No files matched your search

@@ -0,0 +1,26 @@
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "PetPackets.h"
WorldPacket const* WorldPackets::Pet::PetDismissSound::Write()
{
_worldPacket << int32(ModelID);
_worldPacket << ModelPosition;
return &_worldPacket;
}