Core/Movement: Add time synchronisation (Needs tested)
Port From (https://github.com/TrinityCore/TrinityCore/commit/c19a4db1c12b8864d6c486ee8e2f0e058fb4155a)
This commit is contained in:
@@ -275,6 +275,8 @@ namespace Game.Networking.Packets
|
||||
ClientTime = _worldPacket.ReadUInt32();
|
||||
}
|
||||
|
||||
public DateTime GetReceivedTime() { return _worldPacket.GetReceivedTime(); }
|
||||
|
||||
public uint ClientTime; // Client ticks in ms
|
||||
public uint SequenceIndex; // Same index as in request
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user