docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct HTTPCookieContainerHandle

    Wraps the Steamworks HTTPCookieContainerHandle handle, a uint.

    Implements
    IEquatable<HTTPCookieContainerHandle>
    IComparable<HTTPCookieContainerHandle>
    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 HTTPCookieContainerHandle : IEquatable<HTTPCookieContainerHandle>, IComparable<HTTPCookieContainerHandle>

    Constructors

    HTTPCookieContainerHandle(uint)

    Initializes a new HTTPCookieContainerHandle from its underlying value.

    Declaration
    public HTTPCookieContainerHandle(uint value)
    Parameters
    Type Name Description
    uint value

    The underlying uint value.

    Fields

    Invalid

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

    Declaration
    public static readonly HTTPCookieContainerHandle Invalid
    Field Value
    Type Description
    HTTPCookieContainerHandle

    m_HTTPCookieContainerHandle

    The underlying uint value.

    Declaration
    public uint m_HTTPCookieContainerHandle
    Field Value
    Type Description
    uint

    Methods

    CompareTo(HTTPCookieContainerHandle)

    Orders this value against other by their underlying values.

    Declaration
    public int CompareTo(HTTPCookieContainerHandle other)
    Parameters
    Type Name Description
    HTTPCookieContainerHandle 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 HTTPCookieContainerHandle 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 HTTPCookieContainerHandle holding the same value.

    Overrides
    ValueType.Equals(object)

    Equals(HTTPCookieContainerHandle)

    Returns true when this value equals other.

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

    Returns true when both operands hold the same value.

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

    The first value to compare.

    HTTPCookieContainerHandle y

    The second value to compare.

    Returns
    Type Description
    bool

    true when the two hold the same underlying value.

    explicit operator HTTPCookieContainerHandle(uint)

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

    Declaration
    public static explicit operator HTTPCookieContainerHandle(uint value)
    Parameters
    Type Name Description
    uint value

    The underlying uint value.

    Returns
    Type Description
    HTTPCookieContainerHandle

    A HTTPCookieContainerHandle holding value.

    explicit operator uint(HTTPCookieContainerHandle)

    Converts a HTTPCookieContainerHandle to its underlying uint.

    Declaration
    public static explicit operator uint(HTTPCookieContainerHandle that)
    Parameters
    Type Name Description
    HTTPCookieContainerHandle that

    The handle to unwrap.

    Returns
    Type Description
    uint

    The underlying uint value.

    operator !=(HTTPCookieContainerHandle, HTTPCookieContainerHandle)

    Returns true when the operands hold different values.

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

    The first value to compare.

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