Class MemoryDataLayer
Straightforward synchronous data layer that keep data in memory for the session only.
Implements
Inherited Members
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. |