Core/PacketIO: Implemented CMSG_MOVE_INIT_ACTIVE_MOVER_COMPLETE and ActivePlayerData::TransportServerTime updatefield

Port From (https://github.com/TrinityCore/TrinityCore/commit/aa592e431b945800928f2e43b3812cfa240fada1)
This commit is contained in:
hondacrx
2022-06-02 22:16:12 -04:00
parent 8934cfb6dc
commit 2cc0b372bf
4 changed files with 36 additions and 3 deletions
@@ -490,7 +490,7 @@ namespace Game.Networking.Packets
public ObjectGuid Guid;
public float SplineDist;
}
public class MoveSplineSetSpeed : ServerPacket
{
public MoveSplineSetSpeed(ServerOpcodes opcode) : base(opcode, ConnectionType.Instance) { }
@@ -1028,7 +1028,7 @@ namespace Game.Networking.Packets
public ObjectGuid MoverGUID;
public uint TimeSkipped;
}
class SummonResponse : ClientPacket
{
public SummonResponse(WorldPacket packet) : base(packet) { }
@@ -1239,6 +1239,18 @@ namespace Game.Networking.Packets
}
}
class MoveInitActiveMoverComplete : ClientPacket
{
public uint Ticks;
public MoveInitActiveMoverComplete(WorldPacket packet) : base(packet) { }
public override void Read()
{
_worldPacket.WriteUInt32(Ticks);
}
}
//Structs
public struct MovementAck
{