You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 14:46:29 +09:00
Rev397-400 on google code; fixes to recycling and minor tweak to heartbeat calling when a disconnection occurs
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Lidgren.Network
|
||||
{
|
||||
internal NetMessageType m_messageType;
|
||||
internal bool m_isSent;
|
||||
internal int m_recyclingCount;
|
||||
internal int m_recyclingCount; // when this reaches zero the message is ready to be recycled
|
||||
|
||||
internal int m_fragmentGroup; // which group of fragments ths belongs to
|
||||
internal int m_fragmentGroupTotalBits; // total number of bits in this group
|
||||
@@ -46,7 +46,7 @@ namespace Lidgren.Network
|
||||
m_messageType = NetMessageType.LibraryError;
|
||||
m_bitLength = 0;
|
||||
m_isSent = false;
|
||||
m_recyclingCount = 0;
|
||||
NetException.Assert(m_recyclingCount == 0);
|
||||
m_fragmentGroup = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user