mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-08-22 22:09:39 +03:00
OnInventoryUpdated passes the InventoryResult
This commit is contained in:
parent
49bb3644bd
commit
05e12c32e1
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue