1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-17 07:36:32 +09:00

Missing project added; various code cleanups

This commit is contained in:
lidgren
2010-05-14 17:12:26 +00:00
parent bf208b507a
commit 9577d4b4a6
31 changed files with 381 additions and 139 deletions

View File

@@ -32,8 +32,8 @@ namespace Lidgren.Network
public static class NetTime
{
#if IS_STOPWATCH_AVAILABLE
private static long s_timeInitialized = Stopwatch.GetTimestamp();
private static double s_dInvFreq = 1.0 / (double)Stopwatch.Frequency;
private static readonly long s_timeInitialized = Stopwatch.GetTimestamp();
private static readonly double s_dInvFreq = 1.0 / (double)Stopwatch.Frequency;
/// <summary>
/// Get number of seconds since the application started