(61d00a474) v0.9.7.1
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Steamworks.Data
|
||||
{
|
||||
delegate void FSteamNetworkingSocketsDebugOutput (DebugOutputType nType, string pszMsg );
|
||||
|
||||
public struct SteamNetworkingPOPID
|
||||
{
|
||||
public uint Value;
|
||||
|
||||
public static implicit operator SteamNetworkingPOPID( uint value )
|
||||
{
|
||||
return new SteamNetworkingPOPID { Value = value };
|
||||
}
|
||||
|
||||
public static implicit operator uint( SteamNetworkingPOPID value )
|
||||
{
|
||||
return value.Value;
|
||||
}
|
||||
|
||||
public override string ToString() => Value.ToString();
|
||||
}
|
||||
|
||||
[StructLayout( LayoutKind.Sequential )]
|
||||
public struct SteamNetworkingQuickConnectionStatus
|
||||
{
|
||||
public ConnectionState state;
|
||||
public int ping;
|
||||
public float connectionQualityLocal;
|
||||
public float connectionQualityRemote;
|
||||
public float outPacketsPerSecond;
|
||||
public float outBytesPerSecond;
|
||||
public float inPacketsPerSecond;
|
||||
public float inBytesPerSecond;
|
||||
public int sendRateBytesPerSecond;
|
||||
public int pendingUnreliable;
|
||||
public int pendingReliable;
|
||||
public int sentUnackedReliable;
|
||||
public long queueTime;
|
||||
|
||||
[MarshalAs( UnmanagedType.ByValArray, SizeConst = 16 )]
|
||||
uint[] reserved;
|
||||
}
|
||||
|
||||
struct SteamDatagramRelayAuthTicket
|
||||
{
|
||||
// Not implemented
|
||||
};
|
||||
|
||||
struct SteamDatagramHostedAddress
|
||||
{
|
||||
// Not implemented
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user