Method RemoveItem
RemoveItem(InventoryItem)
This method will remove the given Item.
Declaration
public static bool RemoveItem(InventoryItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| InventoryItem | item | The Item instance we want to remove. |
Returns
| Type | Description |
|---|---|
| bool | Whether or not the Item was successfully removed. |
RemoveItem(string)
This method will remove the Item with the given Item Hash.
Declaration
public static bool RemoveItem(string itemId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemId | Id of the item we want to remove. |
Returns
| Type | Description |
|---|---|
| bool | Whether or not the Item was successfully removed. |