docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MMKVPMarshaller

    Marshals a MatchMakingKeyValuePair_t[] into the MatchMakingKeyValuePair_t ** the SteamMatchmakingServers server-list requests take: a native array of pointers, each to a native copy of one filter.

    Inheritance
    object
    CriticalFinalizerObject
    SafeHandle
    SafeHandleZeroOrMinusOneIsInvalid
    MMKVPMarshaller
    Implements
    IDisposable
    Inherited Members
    SafeHandleZeroOrMinusOneIsInvalid.IsInvalid
    SafeHandle.Close()
    SafeHandle.DangerousAddRef(ref bool)
    SafeHandle.DangerousGetHandle()
    SafeHandle.DangerousRelease()
    SafeHandle.Dispose()
    SafeHandle.SetHandleAsInvalid()
    SafeHandle.IsClosed
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    public sealed class MMKVPMarshaller : SafeHandleZeroOrMinusOneIsInvalid, IDisposable

    Constructors

    MMKVPMarshaller(MatchMakingKeyValuePair_t[])

    Copies the filters into unmanaged memory as the pointer array Steam expects.

    Declaration
    public MMKVPMarshaller(MatchMakingKeyValuePair_t[] filters)
    Parameters
    Type Name Description
    MatchMakingKeyValuePair_t[] filters

    The filters to copy. When null or empty, a null pointer is passed.

    Methods

    ReleaseHandle()

    Frees the pointer array and the filter block behind it.

    Declaration
    protected override bool ReleaseHandle()
    Returns
    Type Description
    bool
    Overrides
    SafeHandle.ReleaseHandle()

    Operators

    implicit operator IntPtr(MMKVPMarshaller)

    The raw MatchMakingKeyValuePair_t ** the flat API takes.

    Declaration
    public static implicit operator IntPtr(MMKVPMarshaller that)
    Parameters
    Type Name Description
    MMKVPMarshaller that

    The marshaller to convert; may be null.

    Returns
    Type Description
    IntPtr

    The pointer array, or Zero when that is null or holds no filters.

    Implements

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