Skip to content

Commit

Permalink
4.4.0 parse QuestFlags in other packets too
Browse files Browse the repository at this point in the history
  • Loading branch information
funjoker committed Sep 8, 2024
1 parent f9ab496 commit b15d544
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions WowPacketParserModule.V4_4_0_54481/Parsers/QuestHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ public static QuestOfferReward ReadQuestGiverOfferRewardData(Packet packet, para

CoreParsers.QuestHandler.AddQuestEnder(questgiverGUID, (uint)id);

for (int i = 0; i < 3; i++)
packet.ReadInt32("QuestFlags", i);
packet.ReadInt32E<QuestFlags>("Flags");
packet.ReadInt32E<QuestFlagsEx>("FlagsEx");
packet.ReadInt32E<QuestFlagsEx2>("FlagsEx2_Unused440"); // Probably uninitialized random values atm

packet.ReadInt32("SuggestedPartyMembers");
var emotesCount = packet.ReadUInt32("EmotesCount");
Expand Down Expand Up @@ -743,8 +744,9 @@ public static void HandleQuestGiverQuestDetails(Packet packet)
packet.ReadInt32("PortraitGiverModelSceneID");
packet.ReadInt32("PortraitTurnIn");

for (int i = 0; i < 3; i++)
packet.ReadInt32("QuestFlags", i);
packet.ReadInt32E<QuestFlags>("Flags");
packet.ReadInt32E<QuestFlagsEx>("FlagsEx");
packet.ReadInt32E<QuestFlagsEx2>("FlagsEx2_Unused440"); // Probably uninitialized random values atm

packet.ReadInt32("SuggestedPartyMembers");
var learnSpellsCount = packet.ReadUInt32("LearnSpellsCount");
Expand Down

0 comments on commit b15d544

Please sign in to comment.