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

    FilterOptions

    A list of filters which can be used to narrow down which lobbies to return.

    Declaration
    public List<FilterOption> FilterOptions { get; set; }
    Property Value
    Type Description
    List<FilterOption>

    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 List<SortOption> SortOptions { get; set; }
    Property Value
    Type Description
    List<SortOption>
    In This Article
    • Properties
      • ContinuationToken
      • Count
      • FilterOptions
      • Skip
      • SortOptions
    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)