Class AlleyModel
- Namespace
- TaleWorlds.CampaignSystem.ComponentInterfaces
- Assembly
- TaleWorlds.CampaignSystem.dll
public abstract class AlleyModel : GameModel
- Inheritance
-
AlleyModel
- Derived
- Inherited Members
Constructors
AlleyModel()
protected AlleyModel()
Properties
DestroyAlleyAfterDaysWhenLeaderIsDeath
public abstract CampaignTime DestroyAlleyAfterDaysWhenLeaderIsDeath { get; }
Property Value
GetDailyCrimeRatingOfAlley
public abstract float GetDailyCrimeRatingOfAlley { get; }
Property Value
MaximumTroopCountInPlayerOwnedAlley
public abstract int MaximumTroopCountInPlayerOwnedAlley { get; }
Property Value
MinimumTroopCountInPlayerOwnedAlley
public abstract int MinimumTroopCountInPlayerOwnedAlley { get; }
Property Value
Methods
GetAlleyAttackResponseTimeInDays(TroopRoster)
public abstract float GetAlleyAttackResponseTimeInDays(TroopRoster troopRoster)
Parameters
troopRoster
TroopRoster
Returns
GetClanMembersAndAvailabilityDetailsForLeadingAnAlley(Alley)
public abstract List<(Hero, DefaultAlleyModel.AlleyMemberAvailabilityDetail)> GetClanMembersAndAvailabilityDetailsForLeadingAnAlley(Alley alley)
Parameters
alley
Alley
Returns
GetDailyIncomeOfAlley(Alley)
public abstract int GetDailyIncomeOfAlley(Alley alley)
Parameters
alley
Alley
Returns
GetDailyXpGainForAssignedClanMember(Hero)
public abstract float GetDailyXpGainForAssignedClanMember(Hero assignedHero)
Parameters
assignedHero
Hero
Returns
GetDailyXpGainForMainHero()
public abstract float GetDailyXpGainForMainHero()
Returns
GetDisabledReasonTextForHero(Hero, Alley, AlleyMemberAvailabilityDetail)
public abstract TextObject GetDisabledReasonTextForHero(Hero hero, Alley alley, DefaultAlleyModel.AlleyMemberAvailabilityDetail detail)
Parameters
hero
Heroalley
Alleydetail
DefaultAlleyModel.AlleyMemberAvailabilityDetail
Returns
GetInitialXpGainForMainHero()
public abstract float GetInitialXpGainForMainHero()
Returns
GetTroopsOfAIOwnedAlley(Alley)
public abstract TroopRoster GetTroopsOfAIOwnedAlley(Alley alley)
Parameters
alley
Alley
Returns
GetTroopsOfAlleyForBattleMission(Alley)
public abstract TroopRoster GetTroopsOfAlleyForBattleMission(Alley alley)
Parameters
alley
Alley
Returns
GetTroopsToRecruitFromAlleyDependingOnAlleyRandom(Alley, float)
public abstract TroopRoster GetTroopsToRecruitFromAlleyDependingOnAlleyRandom(Alley alley, float random)
Parameters
Returns
GetXpGainAfterSuccessfulAlleyDefenseForMainHero()
public abstract float GetXpGainAfterSuccessfulAlleyDefenseForMainHero()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).