Class QuerySessionsOptions
A Generic class for creating options for querying sessions.
Inherited Members
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 |
---|---|
Sort |