Show / Hide Table of Contents

Class MyEntityContainerEventExtensions.InventoryChangedParams

This class is used to inform about changes in inventory

Inheritance
System.Object
MyEntityContainerEventExtensions.EntityEventParams
MyEntityContainerEventExtensions.InventoryChangedParams
Namespace: VRage.Game.Components
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
public float Amount
Field Value
Type Description
System.Single

Inventory

Declaration
public MyInventoryBase Inventory
Field Value
Type Description
MyInventoryBase

ItemId

Declaration
public uint ItemId
Field Value
Type Description
System.UInt32
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾