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
@@ -24,6 +24,7 @@ namespace Steamworks.Ugc
var details = default( SteamUGCDetails_t );
for ( uint i=0; i< ResultCount; i++ )
{
if (SteamUGC.Internal is null) { yield break; }
if ( SteamUGC.Internal.GetQueryUGCResult( Handle, i, ref details ) )
{
var item = Item.From( details );
@@ -86,7 +87,7 @@ namespace Steamworks.Ugc
{
ulong val = 0;
if ( !SteamUGC.Internal.GetQueryUGCStatistic( Handle, index, stat, ref val ) )
if ( SteamUGC.Internal is null || !SteamUGC.Internal.GetQueryUGCStatistic( Handle, index, stat, ref val ) )
return 0;
return val;
@@ -96,7 +97,7 @@ namespace Steamworks.Ugc
{
if ( Handle > 0 )
{
SteamUGC.Internal.ReleaseQueryUGCRequest( Handle );
SteamUGC.Internal?.ReleaseQueryUGCRequest( Handle );
Handle = 0;
}
}