docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MemoryDataLayer

    Straightforward synchronous data layer that keep data in memory for the session only.

    Inheritance
    object
    BaseMemoryDataLayer
    MemoryDataLayer
    Implements
    IDataAccessLayer
    ICatalogConfigurator
    IInventoryDataLayer
    IStatDataLayer
    IWalletDataLayer
    ITransactionDataLayer
    Inherited Members
    BaseMemoryDataLayer.m_Version
    BaseMemoryDataLayer.GetData()
    BaseMemoryDataLayer.InitializeInventoryDataLayer(InventoryManagerSerializableData)
    BaseMemoryDataLayer.InitializeStatDataLayer(StatManagerSerializableData)
    BaseMemoryDataLayer.InitializeWalletDataLayer(WalletSerializableData, CurrencyCatalogAsset)
    Namespace: UnityEngine.GameFoundation.DataAccessLayers
    Assembly: solution.dll
    Syntax
    public class MemoryDataLayer : BaseMemoryDataLayer, IDataAccessLayer, ICatalogConfigurator, IInventoryDataLayer, IStatDataLayer, IWalletDataLayer, ITransactionDataLayer

    Constructors

    Name Description
    MemoryDataLayer(GameFoundationDatabase)

    Creates a data layer with no player data.

    MemoryDataLayer(GameFoundationSerializableData, GameFoundationDatabase)

    Create a data layer with the given catalog provider that will handle the given data for the current game session only.

    Methods

    Name Description
    GetLayerData()

    Gets all the data from Game Foundation

    Initialize(Completer)

    Initialize this data layer.

    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)