Class Ticket#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Models.Ticket : xbe.sdk.EntityBase#

Describes one or more users wishing to find another group of users to match against.

REQUIRES: Matchmaking Services

Public Functions

Ticket ()#
Ticket (Object obj)

Properties

Criteria > Criteria { get; set; }#

The list of criteria to use when filtering other tickets while looking for a match.

bool DedicatedServer { get; set; }#

Indicates whether the user will request a dedicated server for the matched session or will self-host (P2P).

Guid HostUid { get; set; }#

The UUID of the user that is responsible for maintaining this ticket.

object TeamSize { get; set; }#

The number of users desired for any given team. Can be represented as a number or a range using an object.

int NumTeams { get; set; }#

The number of teams desired to be found.

int NumUsers { get; set; }#

The number of users represented on the ticket.

Guid SessionUid { get; set; }#

The UUID of the session once matchmaking has completed successfully.

Statistic > Statistics { get; set; }#

The list of statistics for all users represented on the ticket.

string Status { get; set; }#

The current state of the ticket’s processing.

Guid > Users { get; set; }#

The list of UUIDs for each user represented on the ticket.

Public Static Functions

new Ticket Parse (string json)#

Parses the given JSON encoded string into a new Ticket instance.

Param json:

Return:

Public Static Attributes

const string STATUS_INITIALIZING = "INITIALIZING"#
const string STATUS_SEARCHING = "SEARCHING"#
const string STATUS_MATCH_FOUND = "MATCH_FOUND"#
const string STATUS_INVALID = "INVALID"#