1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-13 21:56:29 +09:00

Initializing ping to random start to make network stream more unpredictable

This commit is contained in:
lidgren
2010-12-09 07:56:34 +00:00
parent 2e78b3e685
commit be902b8010
5 changed files with 14 additions and 2 deletions

View File

@@ -156,6 +156,9 @@ namespace Lidgren.Network
}
}
/// <summary>
/// Returns default(T) if queue is empty
/// </summary>
public T TryPeek(int offset)
{
if (m_size == 0)