Release 1.9.7.0 - Summer Update 2025

This commit is contained in:
Regalis11
2025-06-17 16:38:11 +03:00
parent 22227f13e5
commit ea5a2bc693
297 changed files with 7344 additions and 2421 deletions
@@ -100,18 +100,14 @@ namespace Steamworks
internal static Dictionary<string, string>? GetProperties( SteamInventoryResult_t result, int index )
{
var strlen = (uint) Helpers.MemoryBufferSize;
if ( SteamInventory.Internal is null || !SteamInventory.Internal.GetResultItemProperty( result, (uint)index, null, out var propNames, ref strlen ) )
if ( SteamInventory.Internal is null || !SteamInventory.Internal.GetResultItemProperty( result, (uint)index, null, out var propNames ) )
return null;
var props = new Dictionary<string, string>();
foreach ( var propertyName in propNames.Split( ',' ) )
{
strlen = (uint)Helpers.MemoryBufferSize;
if ( SteamInventory.Internal.GetResultItemProperty( result, (uint)index, propertyName, out var strVal, ref strlen ) )
if ( SteamInventory.Internal.GetResultItemProperty( result, (uint)index, propertyName, out var strVal ) )
{
props.Add( propertyName, strVal );
}
@@ -179,4 +175,4 @@ namespace Steamworks
public override int GetHashCode() => _id.GetHashCode();
public bool Equals( InventoryItem p ) => p._id == _id;
}
}
}