Method GetIntValue
GetIntValue(GameItem, string)
Get's the value of the specified Stat on specified GameItem.
Declaration
public static int GetIntValue(GameItem gameItem, string statDefinitionId)
Parameters
Type | Name | Description |
---|---|---|
GameItem | gameItem | GameItem upon which Stat is to be inspected. |
string | statDefinitionId | StatDefinition's Id to search for. |
Returns
Type | Description |
---|---|
int | Current Stat value. |
GetIntValue(GameItem, int)
Get's the value of the specified Stat on specified GameItem.
Declaration
public static int GetIntValue(GameItem gameItem, int statDefinitionHash)
Parameters
Type | Name | Description |
---|---|---|
GameItem | gameItem | GameItem upon which Stat is to be inspected. |
int | statDefinitionHash | StatDefinition's Hash to search for. |
Returns
Type | Description |
---|---|
int | Current Stat value. |