docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IWalletDataLayer

    Contract for objects providing data to the WalletManager.

    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public interface IWalletDataLayer

    Methods

    Name Description
    AddBalance(string, long, Completer<long>)

    Increase the balance for the given currencyId

    GetData()

    Get Wallet's serializable data.

    RemoveBalance(string, long, Completer<long>)

    Decrease the balance for the given currencyId

    SetBalance(string, long, Completer)

    Defines a new balance for the given currencyId

    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)