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
@@ -9,7 +9,7 @@ namespace Steamworks
/// <summary>
/// An optional interface to use instead of deriving
/// </summary>
public IConnectionManager Interface { get; set; }
public IConnectionManager? Interface { get; set; }
/// <summary>
/// The actual connection we're managing
@@ -94,6 +94,8 @@ namespace Steamworks
public void Receive( int bufferSize = 32 )
{
if (SteamNetworkingSockets.Internal is null) { return; }
int processed = 0;
IntPtr messageBuffer = Marshal.AllocHGlobal( IntPtr.Size * bufferSize );