Method GetStatDefinitions
GetStatDefinitions()
Returns an array of all the StatDefinitionAsset instances in this catalog.
Declaration
public StatDefinitionAsset[] GetStatDefinitions()
Returns
Type | Description |
---|---|
StatDefinitionAsset[] | An array of all StatDefinitionAsset instances. |
Remarks
Keep in mind that this method allocates an array. If you want to avoid allocations, please consider using GetStatDefinitions(ICollection<StatDefinitionAsset>) instead.
GetStatDefinitions(ICollection<StatDefinitionAsset>)
Fills in the given target
collection with all the
StatDefinitionAsset instance of this catalog.
The target
collection is cleared before being
populated.
Declaration
public int GetStatDefinitions(ICollection<StatDefinitionAsset> target = null)
Parameters
Type | Name | Description |
---|---|---|
ICollection<StatDefinitionAsset> | target | The target container of all the StatDefinitionAsset instances. |
Returns
Type | Description |
---|---|
int |