You've already forked lidgren-network-gen3
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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user