Class GameItemDefinition
Base class for both BaseItemDefinition and BaseCollectionDefinition. Holds Id, display name, DetailDefinitions etc.
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public class GameItemDefinition
Properties
Name | Description |
---|---|
display |
The readable name of this GameItemDefinition for displaying to users. |
hash | The Hash of this GameItemDefinition's Id. |
id | The string Id of this GameItemDefinition. |
reference |
The reference GameItemDefinition for this GameItemDefinition. |
Methods
Name | Description |
---|---|
Get |
Returns an array of all categories on this game item definition. |
Get |
Fills the given list with all categories on this game item definition. Will clear any existing values from the list before adding new ones. |
Get |
Gets a CategoryDefinition from this GameItemDefinition categories with the following Hash |
Get |
This will return a reference to the requested DetailDefinition by type. |
Get |
Returns an array of all detail definitions on this game item definition. |
Has |
Checks whether or not the given CategoryDefinition is within this GameItemDefinition. |