You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 07:06:30 +09:00
Now sets NeedFlushSendQueue whenever a stored message exists in any channel
This commit is contained in:
@@ -13,6 +13,8 @@ namespace Lidgren.Network
|
||||
|
||||
internal int QueuedSendsCount { get { return m_queuedSends.Count; } }
|
||||
|
||||
internal virtual bool NeedToSendMessages() { return m_queuedSends.Count > 0; }
|
||||
|
||||
public int GetFreeWindowSlots()
|
||||
{
|
||||
return GetAllowedSends() - m_queuedSends.Count;
|
||||
|
||||
Reference in New Issue
Block a user