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
troopRosterTroopRoster
Returns
GetClanMembersAndAvailabilityDetailsForLeadingAnAlley(Alley)
public abstract List<(Hero, DefaultAlleyModel.AlleyMemberAvailabilityDetail)> GetClanMembersAndAvailabilityDetailsForLeadingAnAlley(Alley alley)
Parameters
alleyAlley
Returns
GetDailyIncomeOfAlley(Alley)
public abstract int GetDailyIncomeOfAlley(Alley alley)
Parameters
alleyAlley
Returns
GetDailyXpGainForAssignedClanMember(Hero)
public abstract float GetDailyXpGainForAssignedClanMember(Hero assignedHero)
Parameters
assignedHeroHero
Returns
GetDailyXpGainForMainHero()
public abstract float GetDailyXpGainForMainHero()
Returns
GetDisabledReasonTextForHero(Hero, Alley, AlleyMemberAvailabilityDetail)
public abstract TextObject GetDisabledReasonTextForHero(Hero hero, Alley alley, DefaultAlleyModel.AlleyMemberAvailabilityDetail detail)
Parameters
heroHeroalleyAlleydetailDefaultAlleyModel.AlleyMemberAvailabilityDetail
Returns
GetInitialXpGainForMainHero()
public abstract float GetInitialXpGainForMainHero()
Returns
GetTroopsOfAIOwnedAlley(Alley)
public abstract TroopRoster GetTroopsOfAIOwnedAlley(Alley alley)
Parameters
alleyAlley
Returns
GetTroopsOfAlleyForBattleMission(Alley)
public abstract TroopRoster GetTroopsOfAlleyForBattleMission(Alley alley)
Parameters
alleyAlley
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).