1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 15:16:33 +09:00

Exposed RemoteTimeOffset

This commit is contained in:
lidgren
2011-02-20 22:47:33 +00:00
parent e995855d2a
commit a7bc44f52a

View File

@@ -16,7 +16,9 @@ namespace Lidgren.Network
/// Gets the current average roundtrip time in seconds
/// </summary>
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)
{