From 7b57778f14a461208153c86e17ce1fa75420ceee Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 17 Aug 2025 23:09:42 -0400 Subject: [PATCH] Core/PacketIO: Fixed structure for SMSG_DISPLAY_TOAST Port From (https://github.com/TrinityCore/TrinityCore/commit/63cad8f18206c7403af9e5ed40209e814913b5e0) --- Source/Game/Networking/Packets/MiscPackets.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Game/Networking/Packets/MiscPackets.cs b/Source/Game/Networking/Packets/MiscPackets.cs index befc8eb50..cbb2a94b2 100644 --- a/Source/Game/Networking/Packets/MiscPackets.cs +++ b/Source/Game/Networking/Packets/MiscPackets.cs @@ -1358,15 +1358,16 @@ namespace Game.Networking.Packets class DisplayToast : ServerPacket { public ulong Quantity; + public uint QuestID; public DisplayToastMethod DisplayToastMethod; public bool Mailed; public DisplayToastType Type = DisplayToastType.Money; - public uint QuestID; public bool IsSecondaryResult; public ItemInstance Item; - public bool BonusRoll; public int LootSpec; public Gender Gender = Gender.None; + public bool BonusRoll; + public bool ForceToast; // Ignores ITEM_FLAG3_DO_NOT_TOAST public uint CurrencyID; public DisplayToast() : base(ServerOpcodes.DisplayToast, ConnectionType.Instance) { } @@ -1385,6 +1386,7 @@ namespace Game.Networking.Packets { case DisplayToastType.NewItem: _worldPacket.WriteBit(BonusRoll); + _worldPacket.WriteBit(ForceToast); Item.Write(_worldPacket); _worldPacket.WriteInt32(LootSpec); _worldPacket.WriteInt8((sbyte)Gender);