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

Re-added ReadTime()

This commit is contained in:
lidgren
2012-04-03 07:26:30 +00:00
parent 0a0e319f21
commit 271675a8ea
4 changed files with 36 additions and 2 deletions

View File

@@ -95,6 +95,15 @@ namespace Lidgren.Network
return encryption.Decrypt(this);
}
/// <summary>
/// Reads a value, in local time comparable to NetTime.Now, written using WriteTime()
/// Must have a connected sender
/// </summary>
public double ReadTime(bool highPrecision)
{
return ReadTime(m_senderConnection, highPrecision);
}
/// <summary>
/// Returns a string that represents this object
/// </summary>