(965c31410a) Unstable v0.10.4.0

This commit is contained in:
Juan Pablo Arce
2020-07-21 08:57:50 -03:00
parent 4f8bd39789
commit 33d3a41104
546 changed files with 45952 additions and 25762 deletions
@@ -98,11 +98,14 @@ namespace Steamworks
if ( _properties!= null && _properties.TryGetValue( name, out string val ) )
return val;
uint _ = (uint)Helpers.MaxStringSize;
uint _ = (uint)Helpers.MemoryBufferSize;
if ( !SteamInventory.Internal.GetItemDefinitionProperty( Id, name, out var vl, ref _ ) )
return null;
if (name == null) //return keys string
return vl;
if ( _properties == null )
_properties = new Dictionary<string, string>();
@@ -132,7 +135,7 @@ namespace Steamworks
string val = GetProperty( name );
if ( string.IsNullOrEmpty( val ) )
return default( T );
return default;
try
{
@@ -140,7 +143,7 @@ namespace Steamworks
}
catch ( System.Exception )
{
return default( T );
return default;
}
}
@@ -235,4 +238,4 @@ namespace Steamworks
}
}
}
}