Core/PacketIO: Fixed structure of SMSG_GOSSIP_MESSAGE and SMSG_QUEST_GIVER_QUEST_LIST_MESSAGE

Port From (https://github.com/TrinityCore/TrinityCore/commit/19db88fd1b1dd3ee9432f9f5facda0129f470a2c)
This commit is contained in:
hondacrx
2023-09-02 15:15:32 -04:00
parent 91f750e562
commit d3dd837b11
2 changed files with 4 additions and 0 deletions
@@ -368,6 +368,7 @@ namespace Game.Networking.Packets
public uint ContentTuningID;
public int QuestType;
public bool Repeatable;
public bool Important;
public string QuestTitle;
public uint QuestFlags;
public uint QuestFlagsEx;
@@ -381,6 +382,7 @@ namespace Game.Networking.Packets
data.WriteUInt32(QuestFlagsEx);
data.WriteBit(Repeatable);
data.WriteBit(Important);
data.WriteBits(QuestTitle.GetByteCount(), 9);
data.FlushBits();