You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 02:11:06 +09:00
More SRP work (still not working 100%)
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Lidgren.Network
|
||||
/// <summary>
|
||||
/// Thread safe (blocking) queue with TryDequeue() and EnqueueFirst()
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Count={m_size}")]
|
||||
[DebuggerDisplay("Count={Count} Capacity={Capacity}")]
|
||||
public sealed class NetQueue<T>
|
||||
{
|
||||
// Example:
|
||||
@@ -49,6 +49,8 @@ namespace Lidgren.Network
|
||||
|
||||
public int Count { get { return m_size; } }
|
||||
|
||||
public int Capacity { get { return m_items.Length; } }
|
||||
|
||||
public NetQueue(int initialCapacity)
|
||||
{
|
||||
m_lock = new object();
|
||||
|
||||
Reference in New Issue
Block a user