Method RemoveInventory
RemoveInventory(string)
This method will remove the Inventory with the given instance Id.
Declaration
public static bool RemoveInventory(string inventoryId)
Parameters
Type | Name | Description |
---|---|---|
string | inventoryId | The Id of the Inventory instance we want to remove. |
Returns
Type | Description |
---|---|
bool | Whether or not the Inventory was successfully removed. |
RemoveInventory(int)
This method will remove the Inventory with the given Inventory Hash.
Declaration
public static bool RemoveInventory(int inventoryHash)
Parameters
Type | Name | Description |
---|---|---|
int | inventoryHash | The Hash of the Inventory instance we want to remove. |
Returns
Type | Description |
---|---|
bool | Whether or not the Inventory was successfully removed. |
RemoveInventory(Inventory)
This method will remove the given Inventory.
Declaration
public static bool RemoveInventory(Inventory inventory)
Parameters
Type | Name | Description |
---|---|---|
Inventory | inventory | The Inventory instance we want to remove. |
Returns
Type | Description |
---|---|
bool | Whether or not the Inventory was successfully removed. |