1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-19 00:26:30 +09:00

Tag re-added to NetConnection

This commit is contained in:
lidgren
2010-10-27 19:35:41 +00:00
parent 2bab58ed69
commit 0405ef0cdc

View File

@@ -23,8 +23,18 @@ namespace Lidgren.Network
internal NetQueue<NetTuple<NetMessageType, int>> m_queuedAcks; internal NetQueue<NetTuple<NetMessageType, int>> m_queuedAcks;
private int m_sendBufferWritePtr; private int m_sendBufferWritePtr;
private int m_sendBufferNumMessages; private int m_sendBufferNumMessages;
private object m_tag;
internal NetConnectionStatistics m_statistics; internal NetConnectionStatistics m_statistics;
/// <summary>
/// Gets or sets the application defined object containing data about the connection
/// </summary>
public object Tag
{
get { return m_tag; }
set { m_tag = value; }
}
/// <summary> /// <summary>
/// Gets the peer which holds this connection /// Gets the peer which holds this connection
/// </summary> /// </summary>