Table of Contents

Class DefaultAlleyModel

Namespace
TaleWorlds.CampaignSystem.GameComponents
Assembly
TaleWorlds.CampaignSystem.dll
public class DefaultAlleyModel : AlleyModel
Inheritance
DefaultAlleyModel
Inherited Members

Constructors

DefaultAlleyModel()

public DefaultAlleyModel()

Fields

MaximumMercyTraitNeededForLeadingAnAlley

public const int MaximumMercyTraitNeededForLeadingAnAlley = 0

Field Value

int

MinimumRoguerySkillNeededForLeadingAnAlley

public const int MinimumRoguerySkillNeededForLeadingAnAlley = 30

Field Value

int

Properties

DestroyAlleyAfterDaysWhenLeaderIsDeath

public override CampaignTime DestroyAlleyAfterDaysWhenLeaderIsDeath { get; }

Property Value

CampaignTime

GetDailyCrimeRatingOfAlley

public override float GetDailyCrimeRatingOfAlley { get; }

Property Value

float

MaximumTroopCountInPlayerOwnedAlley

public override int MaximumTroopCountInPlayerOwnedAlley { get; }

Property Value

int

MinimumTroopCountInPlayerOwnedAlley

public override int MinimumTroopCountInPlayerOwnedAlley { get; }

Property Value

int

Methods

GetAlleyAttackResponseTimeInDays(TroopRoster)

public override float GetAlleyAttackResponseTimeInDays(TroopRoster troopRoster)

Parameters

troopRoster TroopRoster

Returns

float

GetClanMembersAndAvailabilityDetailsForLeadingAnAlley(Alley)

public override List<(Hero, DefaultAlleyModel.AlleyMemberAvailabilityDetail)> GetClanMembersAndAvailabilityDetailsForLeadingAnAlley(Alley alley)

Parameters

alley Alley

Returns

List<(Hero, DefaultAlleyModel.AlleyMemberAvailabilityDetail)>

GetDailyIncomeOfAlley(Alley)

public override int GetDailyIncomeOfAlley(Alley alley)

Parameters

alley Alley

Returns

int

GetDailyXpGainForAssignedClanMember(Hero)

public override float GetDailyXpGainForAssignedClanMember(Hero assignedHero)

Parameters

assignedHero Hero

Returns

float

GetDailyXpGainForMainHero()

public override float GetDailyXpGainForMainHero()

Returns

float

GetDisabledReasonTextForHero(Hero, Alley, AlleyMemberAvailabilityDetail)

public override TextObject GetDisabledReasonTextForHero(Hero hero, Alley alley, DefaultAlleyModel.AlleyMemberAvailabilityDetail detail)

Parameters

hero Hero
alley Alley
detail DefaultAlleyModel.AlleyMemberAvailabilityDetail

Returns

TextObject

GetInitialXpGainForMainHero()

public override float GetInitialXpGainForMainHero()

Returns

float

GetTroopsOfAIOwnedAlley(Alley)

public override TroopRoster GetTroopsOfAIOwnedAlley(Alley alley)

Parameters

alley Alley

Returns

TroopRoster

GetTroopsOfAlleyForBattleMission(Alley)

public override TroopRoster GetTroopsOfAlleyForBattleMission(Alley alley)

Parameters

alley Alley

Returns

TroopRoster

GetTroopsToRecruitFromAlleyDependingOnAlleyRandom(Alley, float)

public override TroopRoster GetTroopsToRecruitFromAlleyDependingOnAlleyRandom(Alley alley, float random)

Parameters

alley Alley
random float

Returns

TroopRoster

GetXpGainAfterSuccessfulAlleyDefenseForMainHero()

public override float GetXpGainAfterSuccessfulAlleyDefenseForMainHero()

Returns

float

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