Method RemoveIntValue
RemoveIntValue(GameItem, string)
Remove specified Stat from specified GameItem.
Declaration
public static bool RemoveIntValue(GameItem gameItem, string statDefinitionId)
Parameters
Type | Name | Description |
---|---|---|
GameItem | gameItem | GameItem upon which Stat is to be removed. |
string | statDefinitionId | StatDefinition's Id to search for. |
Returns
Type | Description |
---|---|
bool | True if Stat found and removed, else false |
RemoveIntValue(GameItem, int)
Remove specified Stat from specified GameItem.
Declaration
public static bool RemoveIntValue(GameItem gameItem, int statDefinitionHash)
Parameters
Type | Name | Description |
---|---|---|
GameItem | gameItem | GameItem upon which Stat is to be removed. |
int | statDefinitionHash | StatDefinition's Hash to search for. |
Returns
Type | Description |
---|---|
bool | True if Stat found and removed, else false |