docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct HServerListRequest

    Wraps the Steamworks HServerListRequest handle, a IntPtr.

    Implements
    IEquatable<HServerListRequest>
    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 HServerListRequest : IEquatable<HServerListRequest>

    Constructors

    HServerListRequest(IntPtr)

    Initializes a new HServerListRequest from its underlying value.

    Declaration
    public HServerListRequest(IntPtr value)
    Parameters
    Type Name Description
    IntPtr value

    The underlying IntPtr value.

    Fields

    Invalid

    The value the SDK reserves to mean "no HServerListRequest".

    Declaration
    public static readonly HServerListRequest Invalid
    Field Value
    Type Description
    HServerListRequest

    m_HServerListRequest

    The underlying IntPtr value.

    Declaration
    public IntPtr m_HServerListRequest
    Field Value
    Type Description
    IntPtr

    Methods

    Equals(object)

    Returns true when other is a HServerListRequest 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 HServerListRequest holding the same value.

    Overrides
    ValueType.Equals(object)

    Equals(HServerListRequest)

    Returns true when this value equals other.

    Declaration
    public bool Equals(HServerListRequest other)
    Parameters
    Type Name Description
    HServerListRequest 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 ==(HServerListRequest, HServerListRequest)

    Returns true when both operands hold the same value.

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

    The first value to compare.

    HServerListRequest y

    The second value to compare.

    Returns
    Type Description
    bool

    true when the two hold the same underlying value.

    explicit operator HServerListRequest(IntPtr)

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

    Declaration
    public static explicit operator HServerListRequest(IntPtr value)
    Parameters
    Type Name Description
    IntPtr value

    The underlying IntPtr value.

    Returns
    Type Description
    HServerListRequest

    A HServerListRequest holding value.

    explicit operator IntPtr(HServerListRequest)

    Converts a HServerListRequest to its underlying IntPtr.

    Declaration
    public static explicit operator IntPtr(HServerListRequest that)
    Parameters
    Type Name Description
    HServerListRequest that

    The handle to unwrap.

    Returns
    Type Description
    IntPtr

    The underlying IntPtr value.

    operator !=(HServerListRequest, HServerListRequest)

    Returns true when the operands hold different values.

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

    The first value to compare.

    HServerListRequest y

    The second value to compare.

    Returns
    Type Description
    bool

    true when the two hold different underlying values.

    Implements

    IEquatable<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)