docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct StatItemSerializableData

    Serializable data structure that contains the state of a StatItem.

    Namespace: UnityEngine.GameFoundation.DataPersistence
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct StatItemSerializableData

    Fields

    Name Description
    defaultFloatValue

    The float value of the stat when StatDictionary type is a float.

    defaultIntValue

    The default int value of the stat when StatDictionary type is an int.

    definitionId

    The definition id of the stat.

    floatValue

    The float value of the stat when StatDictionary type is a float.

    gameItemId

    The GameItem hash id of the stat.

    intValue

    The int value of the stat when StatDictionary type is an int.

    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)