docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class QuerySessionsOptions

    A Generic class for creating options for querying sessions.

    Inheritance
    object
    QuerySessionsOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Multiplayer
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public class QuerySessionsOptions

    Properties

    ContinuationToken

    ContinuationToken used for pagination.

    Declaration
    public string ContinuationToken { get; set; }
    Property Value
    Type Description
    string

    Count

    The number of results to return.

    Declaration
    public int Count { get; set; }
    Property Value
    Type Description
    int

    MinAvailableSlots

    The minimum slots available in a session. The default value is set to 1, meaning that only non-full sessions will be listed.

    Declaration
    public int MinAvailableSlots { get; set; }
    Property Value
    Type Description
    int

    Name

    The name to search for in the session.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Skip

    The offset to start the query from.

    Declaration
    public int Skip { get; set; }
    Property Value
    Type Description
    int

    SortOptions

    How the results of the session query should be sorted.

    Declaration
    public SortOptions SortOptions { get; set; }
    Property Value
    Type Description
    SortOptions
    In This Article
    Back to top
    Copyright © 2024 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)