Method SetStatValue
SetStatValue(string, string, StatValue, Completer)
Request to create or update the stat item defined by the given ids.
Declaration
void SetStatValue(string gameItemId, string statDefinitionId, StatValue value, Completer completer)
Parameters
Type | Name | Description |
---|---|---|
string | gameItemId | Game item's id the stat item is connected to. |
string | statDefinitionId | Definition's Id the stat item is based on. |
StatValue | value | Value to set to the stat item. |
Completer | completer | The handle to settle the promise with. |