Constructor InventoryItemSerializableData
InventoryItemSerializableData(string, string, int, int)
Basic constructor that takes in the inventory item definition Id of the item and the quantity it have in this inventory.
Declaration
public InventoryItemSerializableData(string inventoryId, string definitionId, int quantity, int gameItemId)
Parameters
Type | Name | Description |
---|---|---|
string | inventoryId | The Id of the inventory this item belongs to |
string | definitionId | The definition Id of the inventory item |
int | quantity | The quantity of this item contained in the inventory |
int | gameItemId | The GameItemId of the item use by GameItemLookup |