Class BaseTransactionConfig<TTransaction>
Base configurator for a BaseTransaction instance.
Inherited Members
Namespace: UnityEngine.GameFoundation.Configs
Syntax
public abstract class BaseTransactionConfig<TTransaction> : CatalogItemConfig<TTransaction>, IBuildable<TTransaction> where TTransaction : BaseTransaction
Type Parameters
| Name | Description |
|---|---|
| TTransaction | The type of the configurable BaseTransaction |
Fields
payout
The configurator of the payout.
Declaration
public TransactionExchangeDefinitionConfig payout
Field Value
| Type | Description |
|---|---|
| TransactionExchangeDefinitionConfig |
Methods
CompileItem(Rejectable)
Create a new TRuntimeObject.
Declaration
protected override TTransaction CompileItem(Rejectable rejectable)
Parameters
| Type | Name | Description |
|---|---|---|
| Rejectable | rejectable |
Returns
| Type | Description |
|---|---|
| TTransaction | 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<TTransaction>.CompileItem(UnityEngine.Promise.Rejectable)
CompileTransaction(Rejectable)
Create a new TRuntimeObject.
Declaration
protected abstract TTransaction CompileTransaction(Rejectable rejectable)
Parameters
| Type | Name | Description |
|---|---|---|
| Rejectable | rejectable |
Returns
| Type | Description |
|---|---|
| TTransaction | Return a promise handle to report how the operation went. The handle's result is the compiled item if the compilation was successful. |
LinkItem(TTransaction, Dictionary<String, CatalogItem>, Rejectable)
Resolves the references from the given runtimeObject
using the given compiledItems.
Declaration
protected override void LinkItem(TTransaction runtimeObject, Dictionary<string, CatalogItem> compiledItems, Rejectable rejectable)
Parameters
| Type | Name | Description |
|---|---|---|
| TTransaction | runtimeObject | |
| Dictionary<String, CatalogItem> | compiledItems | |
| Rejectable | rejectable |
Overrides
UnityEngine.GameFoundation.Configs.CatalogItemConfig<TTransaction>.LinkItem(TTransaction, System.Collections.Generic.Dictionary<System.String, UnityEngine.GameFoundation.CatalogItem>, UnityEngine.Promise.Rejectable)
LinkTransaction(TTransaction, Dictionary<String, CatalogItem>, Rejectable)
Resolves the references from the given runtimeObject
using the given compiledItems.
Declaration
protected virtual void LinkTransaction(TTransaction runtimeObject, Dictionary<string, CatalogItem> compiledItems, Rejectable rejectable)
Parameters
| Type | Name | Description |
|---|---|---|
| TTransaction | runtimeObject | |
| Dictionary<String, CatalogItem> | compiledItems | |
| Rejectable | rejectable |