Method GetStatInt
GetStatInt(string)
Gets the Int Stat for the input statDefinitionId
Declaration
public int GetStatInt(string statDefinitionId)
Parameters
Type | Name | Description |
---|---|---|
string | statDefinitionId | statDefinitionId for stat to get |
Returns
Type | Description |
---|---|
int | Stat with parameter Id |
Exceptions
Type | Condition |
---|---|
KeyNotFoundException | Thrown if an Int Stat with parameter Id is not found. |
ArgumentNullException | The parameter is null or empty |
GetStatInt(int)
Gets the Int Stat for the input statDefinitionHash
Declaration
public int GetStatInt(int statDefinitionHash)
Parameters
Type | Name | Description |
---|---|---|
int | statDefinitionHash | statDefinitionHash for stat to get |
Returns
Type | Description |
---|---|
int | Stat with parameter hash |
Exceptions
Type | Condition |
---|---|
KeyNotFoundException | Thrown if an Int Stat with parameter hash is not found. |