v1.0.13.1 (first post-1.0 patch)

This commit is contained in:
Regalis11
2023-05-10 15:07:17 +03:00
parent 96fb49ba14
commit ee1db852b1
272 changed files with 5738 additions and 2413 deletions
@@ -10,7 +10,7 @@ namespace Steamworks
{
public static partial class Utility
{
static internal T ToType<T>( this IntPtr ptr )
static internal T? ToType<T>( this IntPtr ptr )
{
if ( ptr == IntPtr.Zero )
return default;
@@ -18,7 +18,7 @@ namespace Steamworks
return (T)Marshal.PtrToStructure( ptr, typeof( T ) );
}
static internal object ToType( this IntPtr ptr, System.Type t )
static internal object? ToType( this IntPtr ptr, System.Type t )
{
if ( ptr == IntPtr.Zero )
return default;