Method GetGameItemDefinitions
GetGameItemDefinitions()
Returns an array of all game item definitions in this catalog.
Declaration
public GameItemDefinition[] GetGameItemDefinitions()
Returns
Type | Description |
---|---|
GameItemDefinition[] | An array of all game item definitions in this catalog. |
GetGameItemDefinitions(List<GameItemDefinition>)
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.
Declaration
public void GetGameItemDefinitions(List<GameItemDefinition> gameItemDefinitions)
Parameters
Type | Name | Description |
---|---|---|
List<GameItemDefinition> | gameItemDefinitions | The list to clear and fill with all game item definitions. |