Core/PacketIO: Add missing bit to SMSG_QUEST_GIVER_QUEST_DETAILS
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c9d1f9e5c8fd2b327b07dcddbc30c5ced06564a)
This commit is contained in:
@@ -458,6 +458,7 @@ namespace Game.Misc
|
|||||||
packet.QuestInfoID = (int)quest.QuestInfoID;
|
packet.QuestInfoID = (int)quest.QuestInfoID;
|
||||||
packet.QuestSessionBonus = 0; //quest.GetQuestSessionBonus(); // this is only sent while quest session is active
|
packet.QuestSessionBonus = 0; //quest.GetQuestSessionBonus(); // this is only sent while quest session is active
|
||||||
packet.AutoLaunched = autoLaunched;
|
packet.AutoLaunched = autoLaunched;
|
||||||
|
packet.ResetByScheduler = quest.IsResetByScheduler();
|
||||||
packet.DisplayPopup = displayPopup;
|
packet.DisplayPopup = displayPopup;
|
||||||
packet.QuestFlags[0] = (uint)(quest.Flags & (WorldConfig.GetBoolValue(WorldCfg.QuestIgnoreAutoAccept) ? ~QuestFlags.AutoAccept : ~QuestFlags.None));
|
packet.QuestFlags[0] = (uint)(quest.Flags & (WorldConfig.GetBoolValue(WorldCfg.QuestIgnoreAutoAccept) ? ~QuestFlags.AutoAccept : ~QuestFlags.None));
|
||||||
packet.QuestFlags[1] = (uint)quest.FlagsEx;
|
packet.QuestFlags[1] = (uint)quest.FlagsEx;
|
||||||
|
|||||||
@@ -490,6 +490,7 @@ namespace Game.Networking.Packets
|
|||||||
_worldPacket.WriteBit(AutoLaunched);
|
_worldPacket.WriteBit(AutoLaunched);
|
||||||
_worldPacket.WriteBit(FromContentPush);
|
_worldPacket.WriteBit(FromContentPush);
|
||||||
_worldPacket.WriteBit(false); // unused in client
|
_worldPacket.WriteBit(false); // unused in client
|
||||||
|
_worldPacket.WriteBit(ResetByScheduler);
|
||||||
_worldPacket.WriteBit(StartCheat);
|
_worldPacket.WriteBit(StartCheat);
|
||||||
_worldPacket.WriteBit(DisplayPopup);
|
_worldPacket.WriteBit(DisplayPopup);
|
||||||
_worldPacket.FlushBits();
|
_worldPacket.FlushBits();
|
||||||
@@ -538,6 +539,7 @@ namespace Game.Networking.Packets
|
|||||||
public bool StartCheat;
|
public bool StartCheat;
|
||||||
public bool AutoLaunched;
|
public bool AutoLaunched;
|
||||||
public bool FromContentPush;
|
public bool FromContentPush;
|
||||||
|
public bool ResetByScheduler;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class QuestGiverRequestItems : ServerPacket
|
public class QuestGiverRequestItems : ServerPacket
|
||||||
|
|||||||
Reference in New Issue
Block a user