mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +03:00
OnInventoryUpdated passes the InventoryResult
This commit is contained in:
parent
49bb3644bd
commit
05e12c32e1
@ -45,10 +45,12 @@ private static void InventoryUpdated( SteamInventoryFullUpdate_t x )
|
||||
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…
Reference in New Issue
Block a user