Core/PacketIO: Update opcodes and packet structures to 8.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee2e49429f4383732b4e0f39b493470b9c1dd10c)
This commit is contained in:
@@ -19,6 +19,7 @@ using Framework.Constants;
|
||||
using Game.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Framework.Dynamic;
|
||||
|
||||
namespace Game.Network.Packets
|
||||
{
|
||||
@@ -302,7 +303,11 @@ namespace Game.Network.Packets
|
||||
data.WriteUInt32(TimeFromStart);
|
||||
data.WriteUInt32(TimeFromCreate);
|
||||
data.WriteBits(Flags, 4);
|
||||
data.WriteBit(RafAcceptanceID.HasValue);
|
||||
data.FlushBits();
|
||||
|
||||
if (RafAcceptanceID.HasValue)
|
||||
data.WriteUInt64(RafAcceptanceID.Value);
|
||||
}
|
||||
|
||||
public uint Id;
|
||||
@@ -312,6 +317,7 @@ namespace Game.Network.Packets
|
||||
public long Date;
|
||||
public uint TimeFromStart;
|
||||
public uint TimeFromCreate;
|
||||
public Optional<ulong> RafAcceptanceID;
|
||||
}
|
||||
|
||||
public struct GuildCriteriaProgress
|
||||
|
||||
Reference in New Issue
Block a user