Class StatCatalog
Definitions for StatDefinitions. The Stat Catalog serves as a way to find references to Definitions, as needed.
Inherited Members
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public class StatCatalog : ScriptableObject
Methods
Name | Description |
---|---|
AddStatDefinition(StatDefinition) | Adds the given StatDefintion to this Catalog. |
Create() | Creates a new StatCatalog. |
GetStatDefinition(int) | Find and return Stat definition by its Hash. |
GetStatDefinition(string) | Find and return a StatDefinition by its Id. |
GetStatDefinitions() | Returns an array of all stat definitions in this catalog. |
GetStatDefinitions(List<StatDefinition>) | Fills the given list with all stat definitions in this catalog. |
IsStatDefinitionHashUnique(int) | Determine if specified Stat definition Hash is unique in the Stat catalog. |
RemoveStatDefinition(StatDefinition) | Removes the given StatDefinition from this Catalog. |