Class GameItemCatalog
A Catalog for all GameItemDefinitions.
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public class GameItemCatalog
Properties
Name | Description |
---|---|
categories | A dictionary of all CategoryDefinitions. |
definitions | A dictionary of all GameItemDefinitions. |
Methods
Name | Description |
---|---|
Get |
Returns the categories in this catalog in an array. |
Get |
Fills the given list with all categories found in this catalog. Note: this returns the current state of categories. To ensure that there are no invalid or duplicate entries, the 'categories' list will always be cleared and 'recycled' (i.e. updated) with current data from the catalog. |
Get |
Returns specified CategoryDefinition by its Hash. |
Get |
Returns specified Category by CategoryDefinition Hash. |
Get |
This will return an array of GameItemDefinitions with the designated Category. |
Get |
Fills the given list with the GameItemDefinitions that have the designated category. Note: this returns the current state of game item definitions. To ensure that there are no invalid or duplicate entries, the 'gameItemDefinitions' list will always be cleared and 'recycled' (i.e. updated) with current data from the catalog. |
Get |
This will return an array of GameItemDefinitions with the designated Category. |
Get |
Fills the given list with the GameItemDefinitions that have the designated category. Note: this returns the current state of game item definitions. To ensure that there are no invalid or duplicate entries, the 'gameItemDefinitions' list will always be cleared and 'recycled' (i.e. updated) with current data from the catalog. |
Get |
Return specified GameItemDefinition by Hash. |
Get |
Return specified GameItemDefinition by GameItemDefinition id string. |
Get |
Returns an array of all game item definitions in this catalog. |
Get |
Fills the given array with all game item definitions in this catalog. Note: this returns the current state of game item definitions. To ensure that there are no invalid or duplicate entries, the 'gameItemDefinitions' list will always be cleared and 'recycled' (i.e. updated) with current data from the catalog. |
Is |
Check if the given string's hash is not yet included in this GameItemCatalog's list of GameItemDefinitions and is available for use. |