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
ConnectionLatencyUpdated message type added; WriteTime() ReadTime() added
This commit is contained in:
@@ -36,6 +36,7 @@ namespace Lidgren.Network
|
||||
internal int m_sequenceNumber;
|
||||
internal NetMessageType m_receivedMessageType;
|
||||
internal bool m_isFragment;
|
||||
internal double m_receiveTime;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of this incoming message
|
||||
@@ -62,6 +63,11 @@ namespace Lidgren.Network
|
||||
/// </summary>
|
||||
public NetConnection SenderConnection { get { return m_senderConnection; } }
|
||||
|
||||
/// <summary>
|
||||
/// What local time the message was received from the network
|
||||
/// </summary>
|
||||
public double ReceiveTime { get { return m_receiveTime; } }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the length of the message payload in bytes
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user