Namespace UnityEngine.GameFoundation
Classes
AnalyticsDetail
AnalyticsDetail. Attach to a game item to have it automatically get tracked with analytics.
AssetsDetail
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.
CatalogManager
Currency
Describes a currency.
CurrencyCatalog
Contains all the available currencies.
GameFoundation
Manage the initialization and the persistence of Game Foundation's systems.
GameFoundationSettings
Game Foundation settings for runtime implementation and serialization.
GameParameter
GameParameterCatalog
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
Item handled by the InventoryManager.
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.
PropertyTypeExtensions
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.
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.
Tag
Tag instance are used as filter arguments when querying CatalogItem instances within a catalog.
TagCatalog
The catalog storing tags.
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
BalanceChangedEventArgs
Data sent when the balance of a currency changed.
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.
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
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, WalletManager, ...).
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.
IWalletDataLayer
Contract for objects providing data to the WalletManager.
Enums
CurrencyType
This better enables identifying and tracking different types of currency in your game.
PropertyType
Enum to specify the type of value stored in a property.
TransactionFailureReason
Reasons a Transaction can fail.