Core/PacketIO: Updated most packet structures to 9.0.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/cab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
using Framework.Constants;
|
||||
using Framework.IO;
|
||||
using Game.Entities;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Game.Networking.Packets
|
||||
{
|
||||
@@ -29,13 +30,13 @@ namespace Game.Networking.Packets
|
||||
{
|
||||
_worldPacket.WritePackedGuid(PlayerGuid);
|
||||
_worldPacket.WriteUInt32(ServerTime);
|
||||
for (int i = 0; i < (int)AccountDataTypes.Max; ++i)
|
||||
_worldPacket.WriteUInt32(AccountTimes[i]);
|
||||
foreach (var accounttime in AccountTimes)
|
||||
_worldPacket.WriteUInt32(accounttime);
|
||||
}
|
||||
|
||||
public ObjectGuid PlayerGuid;
|
||||
public uint ServerTime = 0;
|
||||
public uint[] AccountTimes = new uint[(int)AccountDataTypes.Max];
|
||||
public Array<uint> AccountTimes = new Array<uint>((int)AccountDataTypes.Max);
|
||||
}
|
||||
|
||||
public class ClientCacheVersion : ServerPacket
|
||||
|
||||
Reference in New Issue
Block a user