Class MyEntityContainerEventExtensions.InventoryChangedParams
This class is used to inform about changes in inventory
Inheritance
System.Object
MyEntityContainerEventExtensions.InventoryChangedParams
Assembly: Sandbox.Game.dll
Syntax
public class InventoryChangedParams : MyEntityContainerEventExtensions.EntityEventParams
Constructors
InventoryChangedParams(UInt32, MyInventoryBase, Single)
Declaration
public InventoryChangedParams(uint itemId, MyInventoryBase inventory, float amount)
Parameters
Type |
Name |
Description |
System.UInt32 |
itemId |
|
MyInventoryBase |
inventory |
|
System.Single |
amount |
|
Fields
Amount
Declaration
Field Value
Type |
Description |
System.Single |
|
Inventory
Declaration
public MyInventoryBase Inventory
Field Value
ItemId
Declaration
Field Value
Type |
Description |
System.UInt32 |
|