Class CurrencyConfig
Configurator the a Currency instance.
Inherited Members
Namespace: UnityEngine.GameFoundation.Configs
Syntax
public sealed class CurrencyConfig : CatalogItemConfig<Currency>, IBuildable<Currency>
Fields
maximumBalance
The maximum balance for the currency.
Declaration
public long maximumBalance
Field Value
| Type | Description |
|---|---|
| Int64 |
type
The type of the currency.
Declaration
public CurrencyType type
Field Value
| Type | Description |
|---|---|
| CurrencyType |
Methods
CompileItem(Rejectable)
Create a new TRuntimeObject.
Declaration
protected override Currency CompileItem(Rejectable rejectable)
Parameters
| Type | Name | Description |
|---|---|---|
| Rejectable | rejectable |
Returns
| Type | Description |
|---|---|
| Currency | Return a promise handle to report how the operation went. The handle's result is the compiled item if the compilation was successful. |
Overrides
UnityEngine.GameFoundation.Configs.CatalogItemConfig<UnityEngine.GameFoundation.Currency>.CompileItem(UnityEngine.Promise.Rejectable)