File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
WowPacketParserModule.V10_0_0_46181/Parsers
WowPacketParserModule.V6_0_2_19033/Parsers Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,10 @@ public static void HandleMultiFloorNewFloor(Packet packet)
152152 public static void HandleEncounterstart ( Packet packet )
153153 {
154154 packet . ReadInt32 ( "DungeonEncounterID" ) ;
155- packet . ReadInt32 < DifficultyId > ( "DifficultyID" ) ;
155+ if ( ClientVersion . AddedInVersion ( ClientVersionBuild . V12_0_0_65390 ) )
156+ packet . ReadInt16 < DifficultyId > ( "DifficultyID" ) ;
157+ else
158+ packet . ReadInt32 < DifficultyId > ( "DifficultyID" ) ;
156159 packet . ReadInt32 ( "GroupSize" ) ;
157160 var count = packet . ReadUInt32 ( ) ;
158161
Original file line number Diff line number Diff line change @@ -208,7 +208,10 @@ public static void HandleEncounterStart(Packet packet)
208208 public static void HandleEncounterStop ( Packet packet )
209209 {
210210 packet . ReadInt32 ( "EncounterID" ) ;
211- packet . ReadInt32 < DifficultyId > ( "DifficultyID" ) ;
211+ if ( ClientVersion . AddedInVersion ( ClientVersionBuild . V12_0_0_65390 ) )
212+ packet . ReadInt16 < DifficultyId > ( "DifficultyID" ) ;
213+ else
214+ packet . ReadInt32 < DifficultyId > ( "DifficultyID" ) ;
212215 packet . ReadInt32 ( "GroupSize" ) ;
213216 packet . ReadBit ( "Success" ) ;
214217 }
You can’t perform that action at this time.
0 commit comments