Method RemoveFloatValue
RemoveFloatValue(GameItem, string)
Remove specified Stat from specified GameItem.
Declaration
public static bool RemoveFloatValue(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 |
RemoveFloatValue(GameItem, int)
Remove specified Stat from specified GameItem.
Declaration
public static bool RemoveFloatValue(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 |