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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user