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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user