Skip to content

Commit 02302e0

Browse files
authored
Move SMSG_BATTLEGROUND_INIT to 7.0 Handlers (#810)
Closes #588
1 parent df715e3 commit 02302e0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

WowPacketParserModule.V7_0_3_22248/Parsers/BattlegroundHandler.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,5 +298,12 @@ public static void HandleArenaCrowdControlSpellResult(Packet packet)
298298
packet.ReadPackedGuid128("PlayerGuid");
299299
packet.ReadInt32("CrowdControlSpellID");
300300
}
301+
302+
[Parser(Opcode.SMSG_BATTLEGROUND_INIT)]
303+
public static void HandleBattlegroundInit(Packet packet)
304+
{
305+
packet.ReadInt32("ServerTime");
306+
packet.ReadInt16("MaxPoints");
307+
}
301308
}
302309
}

WowPacketParserModule.V8_0_1_27101/Parsers/BattlegroundHandler.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,5 @@ public static void HandleRatedPvPInfo(Packet packet)
175175
}
176176
packet.ReadBit("Disqualified");
177177
}
178-
179-
[Parser(Opcode.SMSG_BATTLEGROUND_INIT)]
180-
public static void HandleBattlegroundInit(Packet packet)
181-
{
182-
packet.ReadInt32("ServerTime");
183-
packet.ReadInt16("MaxPoints");
184-
}
185178
}
186179
}

0 commit comments

Comments
 (0)