docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.GameFoundation

    Classes

    AnalyticsDetail

    AnalyticsDetail. Attach to a game item to have it automatically get tracked with analytics.

    AssetsDetail

    BaseCatalog

    This is a class for storing elements for a system. Each catalog contains its own list of categories.

    BaseDetail

    BaseDetail is the base container for the additional static data of a CatalogItem.

    BaseTransaction

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

    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. Game Foundation objects are linked to Category instances available in their catalog.

    CatalogManager

    Category

    Category instance are used as filter arguments when querying CatalogItem instances within their catalog. Each catalog is responsible for containing and managing its own set of Category instance.

    Currency

    Describes a currency.

    CurrencyCatalog

    Contains all the available currencies.

    GameFoundation

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

    GameFoundationSettings

    Game Foundation settings for runtime implementation and serialization.

    GameItem

    Base class for runtime instances in Game Foundation.

    IAPTransaction

    Describes the IAP transaction info, and outcome.

    InventoryCatalog

    Definitions for InventoryItemDefinitions and InventoryDefinitions. The Catalog serves as a way to find references to Definitions, as needed.

    InventoryItem

    An InventoryItem that goes into an Inventory. InventoryItems should only exist inside Inventories.

    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.

    InventoryManager

    Manages all Inventories. Can subscribe to events relevant to Inventories and create and remove them here. InventoryManager also owns the main and wallet Inventories, as well as all other Inventories of InventoryItems. The InventoryManager can create Inventories from InventoryDefinitions or default Inventories as needed.

    JsonData

    A container for JSON data using string parsing to avoid reflection.

    JsonDetail

    Use this detail to store JSON like data.

    SingleCollectionCatalog<TItem>

    The base class of the catalog storing only one kind of CatalogItem. This kind is obviously described by TItem. Most of the catalogs are single collections at the moment.

    StatCatalog

    Catalog for StatDefinition instances.

    StatDefinition

    The definition of a stat, attached to CatalogItem.

    StatDetail

    Detail definition to establish that item uses certain stats, and also to set default values for those stats.

    StatManager

    Retrieve and manage all runtime stat data.

    Store

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

    StoreCatalog

    Definitions for StoreDefinitions. The Catalog serves as a way to find references to Definitions, as needed.

    TransactionCatalog

    Contains all the available transactions.

    TransactionExchangeDefinition

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

    TransactionManager

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

    VirtualTransaction

    Describes the Virtual transaction info, and outcome.

    WalletManager

    Manages the player currency balances.

    Structs

    CurrencyExchange

    Describes the currency change of a TransactionRewards or a TransactionCosts.

    CurrencyExchangeDefinition

    Describes the currency change of a TransactionExchangeDefinition.

    ItemExchangeDefinition

    Describe the item change of a TransactionRewards.

    StatValue

    This struct standardizes how stat values are serialized.

    TransactionCosts

    Describes the costs of a transaction process.

    TransactionResult

    TransactionRewards

    Describes the rewards of a transaction process.

    Interfaces

    ICatalogConfigurator

    Contract for objects providing catalogs to the CatalogManager.

    IDataAccessLayer

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

    IDictionaryConvertible

    Contract for objects that can be:

    • converted to a JSON ready dictionary
    • filled by a JSON dictionary

    IInventoryDataLayer

    Contract for objects providing data to the InventoryManager.

    IStatDataLayer

    Contract for objects providing data to the StatManager.

    IWalletDataLayer

    Contract for objects providing data to the WalletManager.

    Enums

    CurrencyType

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

    StatValueType

    Enum to specify the type of value stored in this StatDefinition.

    TransactionFailureReason

    Reasons a Transaction can fail.

    Delegates

    BalanceChangedHandler

    GameItemEventHandler

    StatChangedEventHandler

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)