38 lines
770 B
C#
38 lines
770 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Steamworks
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, Pack = 8)]
|
|
public struct SteamNetworkingQuickConnectionStatus
|
|
{
|
|
public ESteamNetworkingConnectionState m_eState;
|
|
|
|
public int m_nPing;
|
|
|
|
public float m_flConnectionQualityLocal;
|
|
|
|
public float m_flConnectionQualityRemote;
|
|
|
|
public float m_flOutPacketsPerSec;
|
|
|
|
public float m_flOutBytesPerSec;
|
|
|
|
public float m_flInPacketsPerSec;
|
|
|
|
public float m_flInBytesPerSec;
|
|
|
|
public int m_nSendRateBytesPerSecond;
|
|
|
|
public int m_cbPendingUnreliable;
|
|
|
|
public int m_cbPendingReliable;
|
|
|
|
public int m_cbSentUnackedReliable;
|
|
|
|
public SteamNetworkingMicroseconds m_usecQueueTime;
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
|
|
public uint[] reserved;
|
|
}
|
|
}
|