Core/Movement: Add time synchronisation (Needs tested)
Port From (https://github.com/TrinityCore/TrinityCore/commit/c19a4db1c12b8864d6c486ee8e2f0e058fb4155a)
This commit is contained in:
@@ -220,7 +220,11 @@ namespace Game.Networking
|
||||
|
||||
public uint GetOpcode() { return opcode; }
|
||||
|
||||
public DateTime GetReceivedTime() { return m_receivedTime; }
|
||||
public void SetReceiveTime(DateTime receivedTime) { m_receivedTime = receivedTime; }
|
||||
|
||||
uint opcode;
|
||||
DateTime m_receivedTime; // only set for a specific set of opcodes, for performance reasons.
|
||||
}
|
||||
|
||||
public class PacketHeader
|
||||
|
||||
Reference in New Issue
Block a user