Class BaseTransactionAsset
Description for BaseTransactionAsset
Inherited Members
Namespace: UnityEngine.GameFoundation.DefaultCatalog
Syntax
public abstract class BaseTransactionAsset : CatalogItemAsset, ISerializationCallbackReceiver
Properties
payout
The payout description of the transaction.
Declaration
public TransactionExchangeDefinitionObject payout { get; }
Property Value
Type | Description |
---|---|
TransactionExchangeDefinitionObject |
Methods
AwakeDefinition()
Overriden by inherited classes to initialize specific members.
Declaration
protected override sealed void AwakeDefinition()
Overrides
AwakeTransaction()
Overriden by inherited classes to initialize specific members.
Declaration
protected virtual void AwakeTransaction()
ConfigureItem(CatalogBuilder, IExternalValueProvider)
Configures a specified builder
with the specifics
of this item.
Declaration
protected override sealed CatalogItemConfig ConfigureItem(CatalogBuilder builder, IExternalValueProvider valueProvider)
Parameters
Type | Name | Description |
---|---|---|
CatalogBuilder | builder | The target builder. |
IExternalValueProvider | valueProvider | A value provider to override some catalog item's data with an external source. |
Returns
Type | Description |
---|---|
CatalogItemConfig | The item config. |
Overrides
ConfigureTransaction(CatalogBuilder, IExternalValueProvider)
Configures the specified builder
with the specific content of this transaction.
Declaration
protected abstract BaseTransactionConfig ConfigureTransaction(CatalogBuilder builder, IExternalValueProvider valueProvider)
Parameters
Type | Name | Description |
---|---|---|
CatalogBuilder | builder | The target builder. |
IExternalValueProvider | valueProvider | A value provider to override some catalog item's data with an external source when configuring them. |
Returns
Type | Description |
---|---|
BaseTransactionConfig | The config object. |