docs.unity.cn
    Show / Hide Table of Contents

    Struct WalletData

    Serializable data structure that contains the state of the Wallet.

    Namespace: UnityEngine.GameFoundation.Data
    Syntax
    [Serializable]
    public struct WalletData : IEquatable<WalletData>

    Fields

    balances

    The list of balances

    Declaration
    public BalanceData[] balances
    Field Value
    Type Description
    BalanceData[]

    Properties

    Empty

    Get an empty instance of this class.

    Declaration
    public static WalletData Empty { get; }
    Property Value
    Type Description
    WalletData

    Methods

    Equals(Object)

    Tells whether this WalletData instance equals obj.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The other object to compare this instance with.

    Returns
    Type Description
    Boolean

    true if equals, false otherwise.

    Overrides
    ValueType.Equals(Object)

    Equals(WalletData)

    Declaration
    public bool Equals(WalletData other)
    Parameters
    Type Name Description
    WalletData other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Gets the hash code of this WalletData instance. Returns 0.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    The hash code of this WalletData instance.

    Overrides
    ValueType.GetHashCode()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021