git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1336 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -17,6 +17,9 @@ namespace OpenRa.Game
|
||||
int nextSyncTime = 0;
|
||||
int currentFrame = 0;
|
||||
|
||||
public int CurrentFrame { get { return currentFrame; } }
|
||||
public int RemainingNetSyncTime { get { return Math.Min(0, Environment.TickCount - nextSyncTime); } }
|
||||
|
||||
Queue<Packet> incomingPackets = new Queue<Packet>();
|
||||
|
||||
public Network()
|
||||
@@ -39,6 +42,9 @@ namespace OpenRa.Game
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
receiveThread.IsBackground = true;
|
||||
receiveThread.Start();
|
||||
}
|
||||
|
||||
public void Send(byte[] data)
|
||||
|
||||
Reference in New Issue
Block a user