Class VirtualTransactionConfig
Configurator for a VirtualTransaction instance.
Inheritance
VirtualTransactionConfig
Inherited Members
Namespace: UnityEngine.GameFoundation.Configs
Syntax
public sealed class VirtualTransactionConfig : BaseTransactionConfig<VirtualTransaction>, IBuildable<VirtualTransaction>
Fields
costs
The cost of the transaction.
Declaration
public TransactionExchangeDefinitionConfig costs
Field Value
| Type | Description |
|---|---|
| TransactionExchangeDefinitionConfig |
Methods
CompileTransaction(Rejectable)
Create a new TRuntimeObject.
Declaration
protected override VirtualTransaction CompileTransaction(Rejectable rejectable)
Parameters
| Type | Name | Description |
|---|---|---|
| Rejectable | rejectable |
Returns
| Type | Description |
|---|---|
| VirtualTransaction | 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.BaseTransactionConfig<UnityEngine.GameFoundation.VirtualTransaction>.CompileTransaction(UnityEngine.Promise.Rejectable)
LinkTransaction(VirtualTransaction, Dictionary<String, CatalogItem>, Rejectable)
Resolves the references from the given runtimeObject
using the given compiledItems.
Declaration
protected override void LinkTransaction(VirtualTransaction runtimeObject, Dictionary<string, CatalogItem> compiledItems, Rejectable rejectable)
Parameters
| Type | Name | Description |
|---|---|---|
| VirtualTransaction | runtimeObject | |
| Dictionary<String, CatalogItem> | compiledItems | |
| Rejectable | rejectable |
Overrides
UnityEngine.GameFoundation.Configs.BaseTransactionConfig<UnityEngine.GameFoundation.VirtualTransaction>.LinkTransaction(UnityEngine.GameFoundation.VirtualTransaction, System.Collections.Generic.Dictionary<System.String, UnityEngine.GameFoundation.CatalogItem>, UnityEngine.Promise.Rejectable)