Method HasInventory
HasInventory(string)
This method checks if an Inventory exists with the given Inventory Id.
Declaration
public static bool HasInventory(string inventoryId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | inventoryId | The Id we are checking for. |
Returns
| Type | Description |
|---|---|
| bool | True/False whether or not the Inventory is found in the InventoryManager. |
HasInventory(int)
This method checks if an Inventory exists with the given Inventory Hash.
Declaration
public static bool HasInventory(int inventoryHash)
Parameters
| Type | Name | Description |
|---|---|---|
| int | inventoryHash | The Hash we are checking for. |
Returns
| Type | Description |
|---|---|
| bool | True/False whether or not the Inventory is found in the InventoryManager. |