Edit

Share via


Tournament Class

Definition

Represents tournament details.

[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class Tournament
type Tournament = class
    interface __ITournamentPublicNonVirtuals
Public NotInheritable Class Tournament
Inheritance
Tournament
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Properties

CheckinEndTime

The end time of checkin. Must be before playingStart.

CheckinStartTime

The start time of checkin. Must be before playingStart.

Description

An additional, longer description of the tournament, intended for display.

EndTime

The datetime that this tournament has reached either the Canceled or Completed state. This is set automatically when a tournament is updated to be Canceled or Complete.

GameMode

A string representing the friendly name of the game mode

HasPrize

True if the tournament has a prize. False otherwise.

Id

The ID of the tournament. It is an opaque string specified by the tournament organizer.

IsCheckinOpen

True when check-in is open.

IsPaused

A flag indicating whether the tournament is currently paused.

IsPlayingOpen

True when play is open.

IsRegistrationOpen

True when registration is open.

MaxTeamSize

The max number of players that can play on a team.

MaxTeamsRegistered

This is the maximum number of registered teams. This does not include waitlisted teams.

MinTeamSize

The min number of players required in a team.

MinTeamsRegistered

This is the minimum number of registered teams. This does not include waitlisted teams.

Name

A friendly name for the tournament, intended for display.

OrganizerId

The organizer of this tournament.

OrganizerName

A string representing the friendly name of the organizer

PlayingEndTime

The time the tournament ends.

PlayingStartTime

The time the tournament begins.

RegistrationEndTime

The end time of registration. Must be before checkinStart.

RegistrationStartTime

The start time of registration. Must be before checkinStart.

TeamsRegisteredCount

The number of teams registered for the tournament, not including waitlisted teams.

TeamSummary

Represents a summary of team details for the user participating in the tournament. Only applies for those tournaments where the user has already registered.

TournamentState

The current state of the tournament. Tournaments are Active by default. Organizers can set the tournament to Canceled or Completed by explicitly updating the tournament.

TournamentStyle

A string representing the style of the tournament, such as "Single Elimination" or "Round Robin"

Applies to