Method GetInventoryItem
GetInventoryItem(string)
Gets a specific inventory item from the cached config.
Declaration
InventoryItemDefinition GetInventoryItem(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The ID of the inventory item to fetch. |
Returns
| Type | Description |
|---|---|
| InventoryItemDefinition | A InventoryItemDefinition or null if the currency doesn't exist. |
Exceptions
| Type | Condition |
|---|---|
| EconomyException | Thrown if request is unsuccessful |