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