AddItem

Method

Add an item to the user's inventory.

Definition

AddInventoryItemRequest AddItem(string itemID, ulong amount = 1, bool silent = false)
AddInventoryItemRequest AddItem(string itemID, ulong amount = 1, bool silent = false)

Returns AddInventoryItemRequest

Parameters

ParameterDescription
string itemID

Item to add to backpack

ulong amount

Amount to add

bool silent

True if operation should show a toast message, otherwise false.