mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 15:48:06 +03:00
OnInventoryUpdated passes the InventoryResult
This commit is contained in:
parent
49bb3644bd
commit
05e12c32e1
@ -45,10 +45,12 @@ namespace Steamworks
|
||||
var r = new InventoryResult( x.Handle, false );
|
||||
Items = r.GetItems( false );
|
||||
|
||||
OnInventoryUpdated?.Invoke( x.Handle );
|
||||
OnInventoryUpdated?.Invoke( r );
|
||||
|
||||
r.Dispose();
|
||||
}
|
||||
|
||||
public static event Action<int> OnInventoryUpdated;
|
||||
public static event Action<InventoryResult> OnInventoryUpdated;
|
||||
public static event Action OnDefinitionsUpdated;
|
||||
public static event Action OnServerDefinitionsUpdated;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user