Method GetInventory
GetInventory(string)
This will return the Inventory using the specified Inventory Id.
Declaration
public static Inventory GetInventory(string inventoryId)
Parameters
Type | Name | Description |
---|---|---|
string | inventoryId | The Id of the Inventory we want. |
Returns
Type | Description |
---|---|
Inventory | The Inventory with the requested Id. |
GetInventory(int)
This will return the Inventory using the specified Inventory Hash.
Declaration
public static Inventory GetInventory(int inventoryHash)
Parameters
Type | Name | Description |
---|---|---|
int | inventoryHash | The Hash of the Inventory of the Inventory we want. |
Returns
Type | Description |
---|---|
Inventory | The Inventory with the requested Hash or null if not found. |