Skip to content

Commit

Permalink
Fixed SMSG_ACCOUNT_DATA_TIMES structure for 11.0 (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliminationzx authored Jan 28, 2025
1 parent dfae614 commit efa5408
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions WowPacketParserModule.V11_0_0_55666/Parsers/AccountDataHandler.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;

namespace WowPacketParserModule.V11_0_0_55666.Parsers
{
public static class AccountDataHandler
{
[Parser(Opcode.SMSG_ACCOUNT_DATA_TIMES)]
public static void HandleAccountDataTimes(Packet packet)
{
packet.ReadPackedGuid128("Guid");
packet.ReadTime64("ServerTime");

for (var i = 0; i < 17; ++i)
packet.ReadTime64($"[{(AccountDataType)i}] Time", i);
}
}
}

0 comments on commit efa5408

Please sign in to comment.