docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IStatDataLayer

    Contract for objects providing data to the StatManager.

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

    Methods

    Name Description
    DeleteStatValue(string, string, Completer)

    Request to delete the stat item defined by the given ids.

    GetData()

    Get StatManager's serializable data.

    GetStatValue(string, string)

    Gets the stat of an item by the gameItemId and the statDefinitionId.

    SetStatValue(string, string, StatValue, Completer)

    Request to create or update the stat item defined by the given ids.

    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)