(5a377a8ee) Unstable v0.9.1000.0

This commit is contained in:
Juan Pablo Arce
2020-05-13 12:55:42 -03:00
parent b143329701
commit a1ca41aa5d
426 changed files with 14384 additions and 5708 deletions
@@ -1,6 +1,6 @@
namespace Steamworks.Data
{
enum DebugOutputType : int
public enum DebugOutputType : int
{
None = 0,
Bug = 1, // You used the API incorrectly, or an internal error happened
@@ -204,11 +204,11 @@ namespace Steamworks
#region FunctionMeta
[UnmanagedFunctionPointer( Platform.MemberConvention )]
private delegate void FSetDebugOutputFunction( IntPtr self, DebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc );
private delegate void FSetDebugOutputFunction( IntPtr self, DebugOutputType eDetailLevel, IntPtr pfnFunc );
private FSetDebugOutputFunction _SetDebugOutputFunction;
#endregion
internal void SetDebugOutputFunction( DebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc )
internal void SetDebugOutputFunction( DebugOutputType eDetailLevel, IntPtr pfnFunc )
{
_SetDebugOutputFunction( Self, eDetailLevel, pfnFunc );
}
@@ -81,6 +81,11 @@ namespace Steamworks
public static long LocalTimestamp => Internal.GetLocalTimestamp();
public static void SetDebugOutputFunction(DebugOutputType eDetailLevel, IntPtr pfnFunc)
{
Internal.SetDebugOutputFunction(eDetailLevel, pfnFunc);
}
/// <summary>
/// [0 - 100] - Randomly discard N pct of packets
@@ -5,7 +5,8 @@ using System.Text;
namespace Steamworks.Data
{
delegate void FSteamNetworkingSocketsDebugOutput (DebugOutputType nType, string pszMsg );
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate void FSteamNetworkingSocketsDebugOutput (DebugOutputType nType, string pszMsg );
public struct SteamNetworkingPOPID
{