Class TransactionExchangeDefinitionConfig
Configurator for a TransactionExchangeDefinition data.
Namespace: UnityEngine.GameFoundation.Configs
Syntax
public sealed class TransactionExchangeDefinitionConfig : IBuildable<TransactionExchangeDefinition>
Fields
exchangeConfigs
The list of ExchangeDefinitionConfig used to determine what the TransactionExchangeDefinition will contain.
Declaration
public readonly List<ExchangeDefinitionConfig> exchangeConfigs
Field Value
| Type | Description |
|---|---|
| List<ExchangeDefinitionConfig> |
Methods
Compile()
Create a new TRuntimeObject.
Declaration
public Deferred<TransactionExchangeDefinition> Compile()
Returns
| Type | Description |
|---|---|
| Deferred<TransactionExchangeDefinition> | Return a promise handle to report how the operation went. The handle's result is the compiled item if the compilation was successful. |
Implements
Link(TransactionExchangeDefinition, Dictionary<String, CatalogItem>)
Resolves the references from the given runtimeObject
using the given compiledItems.
Declaration
public Deferred Link(TransactionExchangeDefinition runtimeObject, Dictionary<string, CatalogItem> compiledItems)
Parameters
| Type | Name | Description |
|---|---|---|
| TransactionExchangeDefinition | runtimeObject | |
| Dictionary<String, CatalogItem> | compiledItems | The collection of existing catalog items where references can be found. |
Returns
| Type | Description |
|---|---|
| Deferred | Return a promise handle to report how the operation went. |