The PlayerCurrencyGroup is a readonly observable list of currencies for a player. It represents all currencies for a player.
More...
|
override async Promise | PerformRefresh () |
|
void | SetData (List< T > nextData) |
|
|
int | Count [get] |
|
T | this[int index] [get] |
|
bool | IsInitialized [getprotected set] |
|
Action< List< T > > | OnDataUpdated |
| An event that happens right after IObservable.OnUpdated, but this one contains the list of internal data.
|
|
Action< IEnumerable< T > > | OnElementsAdded |
| An event that happens when new items are added to the list from a AbsRefreshableObservable.Refresh call. This event happens after the IObservable.OnUpdated event
|
|
Action< IEnumerable< T > > | OnElementRemoved |
| An event that happens when new items are removed to the list from a AbsRefreshableObservable.Refresh call. This event happens after the IObservable.OnUpdated event
|
|
The PlayerCurrencyGroup is a readonly observable list of currencies for a player. It represents all currencies for a player.
◆ Add()
◆ GetCurrency()
Get a specific currency. If the currency doesn't yet exist, it will be returned as a new currency with a value of 0.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- com.beamable/Runtime/Player/PlayerCurrencies.cs