M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch Class Reference

Public Types

enum  MatchState {
  Ready ,
  Started ,
  Finished
}
 

Public Member Functions

 TournamentMatch (int participantCount, int numberOfTeamsPerMatch, int numberOfWinnerParticipants, TournamentGame.QualificationMode qualificationMode)
 
void End ()
 
void Start ()
 
TournamentParticipant GetParticipant (int uniqueSeed)
 
bool IsParticipantRequired ()
 
void AddParticipant (TournamentParticipant participant, bool firstTime)
 
bool IsPlayerParticipating ()
 
bool IsPlayerWinner ()
 

Public Attributes

readonly TournamentGame.QualificationMode QualificationMode
 

Properties

IEnumerable< TournamentTeamTeams [get]
 
IEnumerable< TournamentParticipantParticipants [get]
 
MatchState State [get]
 
IEnumerable< TournamentParticipantWinners [get]
 
bool IsReady [get]
 

Member Enumeration Documentation

◆ MatchState

Enumerator
Ready 
Started 
Finished 

Constructor & Destructor Documentation

◆ TournamentMatch()

TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.TournamentMatch ( int  participantCount,
int  numberOfTeamsPerMatch,
int  numberOfWinnerParticipants,
TournamentGame::QualificationMode  qualificationMode 
)

Member Function Documentation

◆ End()

void TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.End ( )

◆ Start()

void TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.Start ( )

◆ GetParticipant()

TournamentParticipant TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.GetParticipant ( int  uniqueSeed)

◆ IsParticipantRequired()

bool TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.IsParticipantRequired ( )

◆ AddParticipant()

void TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.AddParticipant ( TournamentParticipant  participant,
bool  firstTime 
)

◆ IsPlayerParticipating()

bool TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.IsPlayerParticipating ( )

◆ IsPlayerWinner()

bool TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.IsPlayerWinner ( )

Member Data Documentation

◆ QualificationMode

readonly TournamentGame.QualificationMode TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.QualificationMode

Property Documentation

◆ Teams

IEnumerable<TournamentTeam> TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.Teams
get

◆ Participants

IEnumerable<TournamentParticipant> TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.Participants
get

◆ State

MatchState TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.State
get

◆ Winners

IEnumerable<TournamentParticipant> TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.Winners
get

◆ IsReady

bool TaleWorlds.CampaignSystem.TournamentGames.TournamentMatch.IsReady
get