Method GetInventories
GetInventories()
Returns an array of all inventories in the manager.
Declaration
public static Inventory[] GetInventories()
Returns
Type | Description |
---|---|
Inventory[] | An array of all inventories in the manager. |
GetInventories(List<Inventory>)
Fills the given list with all inventories in the manager. Note: this returns the current state of all inventories. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data.
Declaration
public static void GetInventories(List<Inventory> inventories)
Parameters
Type | Name | Description |
---|---|---|
List<Inventory> | inventories | The list to clear and fill with updated data. |