docs.unity.cn
    Show / Hide Table of Contents

    Namespace UnityEngine.GameFoundation

    Classes

    BaseTransaction

    This class is the base of the VirtualTransaction and IAPTransaction classes. Warning: Custom implementations of this base class are not supported by TransactionManager.

    Catalog

    Contains all the runtime CatalogItem instances and provide query methods to get them.

    CatalogBuilder

    The builder of all the runtime static data of Game Foundation. It is given to the data layer so it can configure the data based on its internal data structure, that Game Foundation doesn't need to know.

    CatalogItem

    Base class for most of the static data in Game Foundation.

    Currency

    Describes a currency.

    CurrencyExchange

    Describes the currency change of a Payout or a TransactionCosts.

    ExchangeDefinition

    Describe the ITradable change of a Payout.

    GameFoundationSdk

    Manage the initialization and the persistence of Game Foundation's systems.

    GameFoundationSettings

    Game Foundation settings for runtime implementation and serialization.

    GameParameter

    A Game Parameter object.

    IAPTransaction

    Describes the IAP transaction info, and outcome.

    InventoryItem

    Item handled by the IInventoryManager.

    InventoryItemDefinition

    Preset values and rules for an InventoryItem. During runtime, it may be useful to refer back to the InventoryItemDefinition for the presets and rules, but the values cannot be changed at runtime. InventoryItemDefinitions are also used as factories to create InventoryItems.

    ItemList

    Container for InventoryItem instances. Could be used for contents of a backpack, NPC inventory, etc.

    ItemMap

    Container for InventoryItems. Could be used for items attached to body parts, distributed around a room/dungeon, assigned to specific NPCs, etc.

    PropertyTypeExtensions

    Extension methods for the PropertyType type.

    Reward

    The state of a reward at runtime, managed by the IRewardManager.

    RewardDefinition

    A plan for rewarding a player based on a schedule. Different Rewards will have different schedules and different RewardItemDefinitions.

    RewardItemDefinition

    A definition of a reward item usable at runtime.

    StackableInventoryItem

    Stackable item handled by the IInventoryManager.

    StackableInventoryItemDefinition

    Preset values and rules for an InventoryItem. During runtime, it may be useful to refer back to the InventoryItemDefinition for the presets and rules, but the values cannot be changed at runtime. InventoryItemDefinitions are also used as factories to create InventoryItems.

    Store

    Maintains Collection of BaseTransaction items for a Store and implements methods to retrieve them.

    Tag

    Tag instance are used as filter arguments when querying CatalogItem instances within a catalog.

    TagCatalog

    The catalog storing tags.

    TradableDefinition

    Base class for catalog items producing ITradable objects.

    TransactionExchangeDefinition

    Describes the changes of a transaction definition. As a payout, those changes are added. As a cost, those changes are removed.

    VirtualTransaction

    Describes the Virtual transaction info, and outcome.

    Structs

    IapResult

    This contains portable product information provided by an IAP system after a transaction attempt. Currently it's only used after purchases are successful.

    ItemList.Enumerator

    ItemList.Enumerator for ItemList.

    ItemMap.Enumerator

    ItemMap.Enumerator for ItemMap.

    LocalizedProductMetadata

    Contains portable localized information about an IAP product.

    Payout

    Describes the items and currencies granted by a RewardItemDefinition or BaseTransaction.

    Property

    Struct of this type store a property value and its current type.

    PropertyChangedEventArgs

    Data sent when the property of a game item changed.

    TransactionCosts

    Describes the costs of a transaction process.

    TransactionResult

    The result of a transaction.

    Interfaces

    ICatalogConfigurator

    Contract for objects providing catalogs to the Catalog.

    IDataAccessLayer

    Contract for objects providing data to all Game Foundation's systems (InventoryManager, WalletManager, ...).

    IInventoryDataLayer

    Contract for objects providing data to the IInventoryManager.

    IInventoryManager

    Manages all InventoryItems and IItemCollections. Can subscribe to events relevant to InventoryItems and create and delete them here. The IInventoryManager can create InventoryItems from InventoryItemDefinitions as well as IItemCollections as needed.

    IItemCollection

    Interface for inventory item collections (Lists and Maps).

    IQuantifiable

    Interface for objects which know and can describe their quantity value, when requested.

    IRewardDataLayer

    Contract for objects providing data to the IRewardManager.

    IRewardManager

    Manages Rewards at runtime.

    ITradable

    Contract for objects that can be traded with transactions.

    ITransactionManager

    This class contains methods to process virtual transactions and in-app purchases.

    IWalletDataLayer

    Contract for objects providing data to the IWalletManager.

    IWalletManager

    Manages the player currency balances.

    Enums

    CurrencyType

    This better enables identifying and tracking different types of currency in your game.

    IAPProductType

    This indicates the type of IAP product an IAPTransaction refers to.

    PropertyType

    Enum to specify the type of value stored in a property.

    RewardItemState

    Used to indicate the state of a reward item.

    TransactionFailureReason

    Reasons a Transaction can fail.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021