Build 1.1.4.0

This commit is contained in:
Markus Isberg
2023-03-31 18:40:44 +03:00
parent efba17e0ff
commit 9470edead3
483 changed files with 17487 additions and 8548 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;