Class SortOptions
Options representing how to sort the results of a session query.
Inherited Members
Namespace: Unity.Services.Multiplayer
Assembly: Unity.Services.Multiplayer.dll
Syntax
public class SortOptions
Constructors
SortOptions()
Declaration
public SortOptions()
SortOptions(SortOrder, SortField)
Construct a SortOptions object with the provided order and field.
Declaration
public SortOptions(SortOrder order, SortField field)
Parameters
Type | Name | Description |
---|---|---|
SortOrder | order | Order in which to sort results. |
SortField | field | Field on which to sort results. |
Properties
Field
Field to sort results by.
Declaration
public SortField Field { get; set; }
Property Value
Type | Description |
---|---|
SortField |
Order
Order in which results will be sorted.
Declaration
public SortOrder Order { get; set; }
Property Value
Type | Description |
---|---|
SortOrder |