createTicket

abstract suspend fun createTicket(template: TicketTemplate): Messages.Ticket(source)

Creates a new Ticket within Open Match with the metadata of a specific TicketTemplate. The identifier and creation moment are generated and assigned by Open Match. The game server assignment is determined by the Director after this Ticket has been assigned to a match. The status of the assignment can be observed using watchAssignments.

Return

The newly created Ticket with the metadata that has been supplied through the TicketTemplate and the generated data by Open Match.

Parameters

template

The TicketTemplate whose metadata should be used to create the Ticket.

See also