docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SteamLeaderboardEntries_t

    Wraps the Steamworks SteamLeaderboardEntries_t handle, a ulong.

    Implements
    IEquatable<SteamLeaderboardEntries_t>
    IComparable<SteamLeaderboardEntries_t>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    [Serializable]
    public struct SteamLeaderboardEntries_t : IEquatable<SteamLeaderboardEntries_t>, IComparable<SteamLeaderboardEntries_t>

    Constructors

    SteamLeaderboardEntries_t(ulong)

    Initializes a new SteamLeaderboardEntries_t from its underlying value.

    Declaration
    public SteamLeaderboardEntries_t(ulong value)
    Parameters
    Type Name Description
    ulong value

    The underlying ulong value.

    Fields

    m_SteamLeaderboardEntries

    The underlying ulong value.

    Declaration
    public ulong m_SteamLeaderboardEntries
    Field Value
    Type Description
    ulong

    Methods

    CompareTo(SteamLeaderboardEntries_t)

    Orders this value against other by their underlying values.

    Declaration
    public int CompareTo(SteamLeaderboardEntries_t other)
    Parameters
    Type Name Description
    SteamLeaderboardEntries_t other

    The value to compare against.

    Returns
    Type Description
    int

    Negative, zero or positive as this value sorts before, with or after other.

    Equals(object)

    Returns true when other is a SteamLeaderboardEntries_t with the same value.

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

    The object to compare against.

    Returns
    Type Description
    bool

    true when other is a SteamLeaderboardEntries_t holding the same value.

    Overrides
    ValueType.Equals(object)

    Equals(SteamLeaderboardEntries_t)

    Returns true when this value equals other.

    Declaration
    public bool Equals(SteamLeaderboardEntries_t other)
    Parameters
    Type Name Description
    SteamLeaderboardEntries_t other

    The value to compare against.

    Returns
    Type Description
    bool

    true when both hold the same underlying value.

    GetHashCode()

    Returns the hash code of the underlying value.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The underlying value's hash code.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns the underlying value as a string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The underlying value formatted by its own ToString.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(SteamLeaderboardEntries_t, SteamLeaderboardEntries_t)

    Returns true when both operands hold the same value.

    Declaration
    public static bool operator ==(SteamLeaderboardEntries_t x, SteamLeaderboardEntries_t y)
    Parameters
    Type Name Description
    SteamLeaderboardEntries_t x

    The first value to compare.

    SteamLeaderboardEntries_t y

    The second value to compare.

    Returns
    Type Description
    bool

    true when the two hold the same underlying value.

    explicit operator SteamLeaderboardEntries_t(ulong)

    Converts a ulong to a SteamLeaderboardEntries_t. Explicit, so two handle types cannot convert into each other through the type they share.

    Declaration
    public static explicit operator SteamLeaderboardEntries_t(ulong value)
    Parameters
    Type Name Description
    ulong value

    The underlying ulong value.

    Returns
    Type Description
    SteamLeaderboardEntries_t

    A SteamLeaderboardEntries_t holding value.

    explicit operator ulong(SteamLeaderboardEntries_t)

    Converts a SteamLeaderboardEntries_t to its underlying ulong.

    Declaration
    public static explicit operator ulong(SteamLeaderboardEntries_t that)
    Parameters
    Type Name Description
    SteamLeaderboardEntries_t that

    The handle to unwrap.

    Returns
    Type Description
    ulong

    The underlying ulong value.

    operator !=(SteamLeaderboardEntries_t, SteamLeaderboardEntries_t)

    Returns true when the operands hold different values.

    Declaration
    public static bool operator !=(SteamLeaderboardEntries_t x, SteamLeaderboardEntries_t y)
    Parameters
    Type Name Description
    SteamLeaderboardEntries_t x

    The first value to compare.

    SteamLeaderboardEntries_t y

    The second value to compare.

    Returns
    Type Description
    bool

    true when the two hold different underlying values.

    Implements

    IEquatable<T>
    IComparable<T>
    In This Article
    Back to top
    Copyright © 2026 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)