Network/ENetPeer: Add GetRoundTripTime method
This commit is contained in:
parent
b175122791
commit
c98fb482e7
|
|
@ -55,6 +55,7 @@ namespace Nz
|
|||
inline UInt32 GetPacketThrottleDeceleration() const;
|
||||
inline UInt32 GetPacketThrottleInterval() const;
|
||||
inline UInt16 GetPeerId() const;
|
||||
inline UInt32 GetRoundTripTime() const;
|
||||
inline ENetPeerState GetState() const;
|
||||
|
||||
inline bool HasPendingCommands();
|
||||
|
|
|
|||
|
|
@ -48,6 +48,11 @@ namespace Nz
|
|||
return m_incomingPeerID;
|
||||
}
|
||||
|
||||
inline UInt32 ENetPeer::GetRoundTripTime() const
|
||||
{
|
||||
return m_roundTripTime;
|
||||
}
|
||||
|
||||
inline ENetPeerState ENetPeer::GetState() const
|
||||
{
|
||||
return m_state;
|
||||
|
|
|
|||
Loading…
Reference in New Issue