v1.0.0
Latest
2022.3+

Class QuerySessionsOptions

A Generic class for creating options for querying sessions.

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

Properties

ContinuationToken

ContinuationToken used for pagination.

Declaration
public string ContinuationToken { get; set; }
Property Value
TypeDescription
System.String

Count

The number of results to return.

Declaration
public int Count { get; set; }
Property Value
TypeDescription
System.Int32

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
TypeDescription
System.Collections.Generic.List<FilterOption>

Skip

The offset to start the query from.

Declaration
public int Skip { get; set; }
Property Value
TypeDescription
System.Int32

SortOptions

How the results of the session query should be sorted.

Declaration
public List<SortOption> SortOptions { get; set; }
Property Value
TypeDescription
System.Collections.Generic.List<SortOption>