From a7bc44f52a4c9d0380fdcdbf3b474a6c604d7125 Mon Sep 17 00:00:00 2001 From: lidgren Date: Sun, 20 Feb 2011 22:47:33 +0000 Subject: [PATCH] Exposed RemoteTimeOffset --- Lidgren.Network/NetConnection.Latency.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lidgren.Network/NetConnection.Latency.cs b/Lidgren.Network/NetConnection.Latency.cs index 69e9038..8f43eee 100644 --- a/Lidgren.Network/NetConnection.Latency.cs +++ b/Lidgren.Network/NetConnection.Latency.cs @@ -16,7 +16,9 @@ namespace Lidgren.Network /// Gets the current average roundtrip time in seconds /// public float AverageRoundtripTime { get { return m_averageRoundtripTime; } } - + + public float RemoteTimeOffset { get { return (float)m_remoteTimeOffset; } } + // this might happen more than once internal void InitializeRemoteTimeOffset(float remoteSendTime) {