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
Townprize
ItemObject
Fields
_lastRecordedLordCountForTournamentPrize
[SaveableField(60)]
protected int _lastRecordedLordCountForTournamentPrize
Field Value
Properties
CreationTime
[SaveableProperty(20)]
public CampaignTime CreationTime { get; }
Property Value
MaxTeamNumberPerMatch
public virtual int MaxTeamNumberPerMatch { get; }
Property Value
MaxTeamSize
public virtual int MaxTeamSize { get; }
Property Value
MaximumParticipantCount
public abstract int MaximumParticipantCount { get; }
Property Value
Mode
[SaveableProperty(30)]
public TournamentGame.QualificationMode Mode { get; protected set; }
Property Value
Prize
[SaveableProperty(40)]
public ItemObject Prize { get; }
Property Value
RemoveTournamentAfterDays
public abstract int RemoveTournamentAfterDays { get; }
Property Value
TournamentWinInfluence
public virtual float TournamentWinInfluence { get; }
Property Value
TournamentWinRenown
public virtual float TournamentWinRenown { get; }
Property Value
Town
[SaveableProperty(10)]
public Town Town { get; }
Property Value
Methods
AutoGeneratedInstanceCollectObjects(List<object>)
protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
CanBeAParticipant(CharacterObject, bool)
public virtual bool CanBeAParticipant(CharacterObject character, bool considerSkills)
Parameters
character
CharacterObjectconsiderSkills
bool
Returns
GetMenuText()
public abstract TextObject GetMenuText()
Returns
GetParticipantCharacters(Settlement, bool)
public abstract MBList<CharacterObject> GetParticipantCharacters(Settlement settlement, bool includePlayer = true)
Parameters
settlement
SettlementincludePlayer
bool
Returns
GetTournamentPrize(bool, int)
protected abstract ItemObject GetTournamentPrize(bool includePlayer, int lastRecordedLordCountForTournamentPrize)
Parameters
Returns
OpenMission(Settlement, bool)
public abstract void OpenMission(Settlement settlement, bool isPlayerParticipating)
Parameters
settlement
SettlementisPlayerParticipating
bool
PrepareForTournamentGame(bool)
public void PrepareForTournamentGame(bool isPlayerParticipating)
Parameters
isPlayerParticipating
bool
UpdateTournamentPrize(bool, bool)
public void UpdateTournamentPrize(bool includePlayer, bool removeCurrentPrize = false)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).