Core/PacketIO: Implemented and enabled SMSG_STOP_SPEAKERBOT_SOUND

Port From (https://github.com/TrinityCore/TrinityCore/commit/3f8f8674259b455e47b1456dc0246c1f6758fc74)
This commit is contained in:
hondacrx
2024-03-04 11:44:05 -05:00
parent fecf1c32fa
commit a042fb4b57
2 changed files with 23 additions and 0 deletions
@@ -938,6 +938,21 @@ namespace Game.Networking.Packets
public uint SoundKitID;
}
class StopSpeakerbotSound : ServerPacket
{
ObjectGuid SourceObjectGUID;
public StopSpeakerbotSound(ObjectGuid sourceObjectGUID) : base(ServerOpcodes.StopSpeakerbotSound)
{
SourceObjectGUID = sourceObjectGUID;
}
public override void Write()
{
_worldPacket.WritePackedGuid(SourceObjectGUID);
}
}
class OpeningCinematic : ClientPacket
{
public OpeningCinematic(WorldPacket packet) : base(packet) { }