Table of Contents

Class TournamentGame

Namespace
TaleWorlds.CampaignSystem.TournamentGames
Assembly
TaleWorlds.CampaignSystem.dll
public abstract class TournamentGame
Inheritance
TournamentGame
Derived
Inherited Members

Constructors

TournamentGame(Town, ItemObject)

protected TournamentGame(Town town, ItemObject prize = null)

Parameters

town Town
prize ItemObject

Fields

_lastRecordedLordCountForTournamentPrize

[SaveableField(60)]
protected int _lastRecordedLordCountForTournamentPrize

Field Value

int

Properties

CreationTime

[SaveableProperty(20)]
public CampaignTime CreationTime { get; }

Property Value

CampaignTime

MaxTeamNumberPerMatch

public virtual int MaxTeamNumberPerMatch { get; }

Property Value

int

MaxTeamSize

public virtual int MaxTeamSize { get; }

Property Value

int

MaximumParticipantCount

public abstract int MaximumParticipantCount { get; }

Property Value

int

Mode

[SaveableProperty(30)]
public TournamentGame.QualificationMode Mode { get; protected set; }

Property Value

TournamentGame.QualificationMode

Prize

[SaveableProperty(40)]
public ItemObject Prize { get; }

Property Value

ItemObject

RemoveTournamentAfterDays

public abstract int RemoveTournamentAfterDays { get; }

Property Value

int

TournamentWinInfluence

public virtual float TournamentWinInfluence { get; }

Property Value

float

TournamentWinRenown

public virtual float TournamentWinRenown { get; }

Property Value

float

Town

[SaveableProperty(10)]
public Town Town { get; }

Property Value

Town

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

CanBeAParticipant(CharacterObject, bool)

public virtual bool CanBeAParticipant(CharacterObject character, bool considerSkills)

Parameters

character CharacterObject
considerSkills bool

Returns

bool

GetMenuText()

public abstract TextObject GetMenuText()

Returns

TextObject

GetParticipantCharacters(Settlement, bool)

public abstract MBList<CharacterObject> GetParticipantCharacters(Settlement settlement, bool includePlayer = true)

Parameters

settlement Settlement
includePlayer bool

Returns

MBList<CharacterObject>

GetTournamentPrize(bool, int)

protected abstract ItemObject GetTournamentPrize(bool includePlayer, int lastRecordedLordCountForTournamentPrize)

Parameters

includePlayer bool
lastRecordedLordCountForTournamentPrize int

Returns

ItemObject

OpenMission(Settlement, bool)

public abstract void OpenMission(Settlement settlement, bool isPlayerParticipating)

Parameters

settlement Settlement
isPlayerParticipating bool

PrepareForTournamentGame(bool)

public void PrepareForTournamentGame(bool isPlayerParticipating)

Parameters

isPlayerParticipating bool

UpdateTournamentPrize(bool, bool)

public void UpdateTournamentPrize(bool includePlayer, bool removeCurrentPrize = false)

Parameters

includePlayer bool
removeCurrentPrize bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).