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
@@ -14,7 +14,7 @@ namespace Steamworks
internal struct CallResult<T> : INotifyCompletion where T : struct, ICallbackData
{
SteamAPICall_t call;
ISteamUtils utils;
ISteamUtils? utils;
bool server;
public CallResult( SteamAPICall_t call, bool server )
@@ -43,6 +43,8 @@ namespace Steamworks
/// </summary>
public T? GetResult()
{
if (utils is null) { return null; }
bool failed = false;
if ( !utils.IsAPICallCompleted( call, ref failed ) || failed )
return null;
@@ -76,6 +78,8 @@ namespace Steamworks
{
get
{
if (utils is null) { return true; }
bool failed = false;
if ( utils.IsAPICallCompleted( call, ref failed ) || failed )
return true;