Class FactionHelper
- Namespace
- Helpers
- Assembly
- TaleWorlds.CampaignSystem.dll
public static class FactionHelper
- Inheritance
-
FactionHelper
- Inherited Members
Methods
AdjustFactionStancesForClanJoiningKingdom(Clan, Kingdom)
public static void AdjustFactionStancesForClanJoiningKingdom(Clan joiningClan, Kingdom kingdomToJoin)
Parameters
CanClanBeGrantedFief(Clan)
public static bool CanClanBeGrantedFief(Clan clan)
Parameters
clanClan
Returns
CanPlayerEnterFaction(bool)
public static bool CanPlayerEnterFaction(bool asVassal = false)
Parameters
asVassalbool
Returns
CanPlayerOfferMercenaryService(Kingdom, out List<IFaction>, out List<IFaction>)
public static bool CanPlayerOfferMercenaryService(Kingdom offerKingdom, out List<IFaction> playerWars, out List<IFaction> warsOfFactionToJoin)
Parameters
Returns
CanPlayerOfferVassalage(Kingdom, out List<IFaction>, out List<IFaction>)
public static bool CanPlayerOfferVassalage(Kingdom offerKingdom, out List<IFaction> playerWars, out List<IFaction> warsOfFactionToJoin)
Parameters
Returns
ChooseHeirClanForFiefs(Clan)
public static Clan ChooseHeirClanForFiefs(Clan oldClan)
Parameters
oldClanClan
Returns
FactionMidSettlement(IFaction)
public static Settlement FactionMidSettlement(IFaction faction)
Parameters
factionIFaction
Returns
FindIdealGarrisonStrengthPerWalledCenter(Kingdom, Clan)
public static float FindIdealGarrisonStrengthPerWalledCenter(Kingdom kingdom, Clan clan = null)
Parameters
Returns
FindPotentialStrength(IFaction)
public static float FindPotentialStrength(IFaction faction)
Parameters
factionIFaction
Returns
FinishAllRelatedHostileActions(Clan, Clan)
public static void FinishAllRelatedHostileActions(Clan clan1, Clan clan2)
Parameters
FinishAllRelatedHostileActions(Kingdom, Kingdom)
public static void FinishAllRelatedHostileActions(Kingdom kingdom1, Kingdom kingdom2)
Parameters
FinishAllRelatedHostileActionsOfFactionToFaction(IFaction, IFaction)
public static void FinishAllRelatedHostileActionsOfFactionToFaction(IFaction faction1, IFaction faction2)
Parameters
FinishAllRelatedHostileActionsOfNobleToFaction(Hero, IFaction)
public static void FinishAllRelatedHostileActionsOfNobleToFaction(Hero noble, IFaction faction)
Parameters
GenerateClanNameforPlayer()
public static TextObject GenerateClanNameforPlayer()
Returns
GetAdjectiveForFaction(IFaction)
public static TextObject GetAdjectiveForFaction(IFaction faction)
Parameters
factionIFaction
Returns
GetAdjectiveForFactionCulture(CultureObject)
public static TextObject GetAdjectiveForFactionCulture(CultureObject factionCulture)
Parameters
factionCultureCultureObject
Returns
GetAllyMinorFactions(CharacterObject)
public static IEnumerable<Clan> GetAllyMinorFactions(CharacterObject otherCharacter)
Parameters
otherCharacterCharacterObject
Returns
GetDistanceToClosestNonAllyFortificationOfFaction(IFaction)
public static float GetDistanceToClosestNonAllyFortificationOfFaction(IFaction faction)
Parameters
factionIFaction
Returns
GetFormalNameForFactionCulture(CultureObject)
public static TextObject GetFormalNameForFactionCulture(CultureObject factionCulture)
Parameters
factionCultureCultureObject
Returns
GetInformalNameForFactionCulture(CultureObject)
public static TextObject GetInformalNameForFactionCulture(CultureObject factionCulture)
Parameters
factionCultureCultureObject
Returns
GetKingdomArmies(IFaction)
public static IEnumerable<Army> GetKingdomArmies(IFaction mapFaction)
Parameters
mapFactionIFaction
Returns
GetPossibleKingdomsToDeclarePeace(Kingdom)
public static List<IFaction> GetPossibleKingdomsToDeclarePeace(Kingdom kingdom)
Parameters
kingdomKingdom
Returns
GetPossibleKingdomsToDeclareWar(Kingdom)
public static List<IFaction> GetPossibleKingdomsToDeclareWar(Kingdom kingdom)
Parameters
kingdomKingdom
Returns
GetPowerRatioToEnemies(Kingdom)
public static float GetPowerRatioToEnemies(Kingdom kingdom)
Parameters
kingdomKingdom
Returns
GetPowerRatioToTributePayedKingdoms(Kingdom)
public static float GetPowerRatioToTributePayedKingdoms(Kingdom kingdom)
Parameters
kingdomKingdom
Returns
GetTermUsedByOtherFaction(IFaction, IFaction, bool)
public static TextObject GetTermUsedByOtherFaction(IFaction faction, IFaction otherFaction, bool pejorative)
Parameters
Returns
GetTotalEnemyKingdomPower(Kingdom)
public static float GetTotalEnemyKingdomPower(Kingdom kingdom)
Parameters
kingdomKingdom
Returns
GetTotalTributePayedKingdomsPower(Kingdom)
public static float GetTotalTributePayedKingdomsPower(Kingdom kingdom)
Parameters
kingdomKingdom
Returns
IsClanNameApplicable(string)
public static Tuple<bool, string> IsClanNameApplicable(string name)
Parameters
namestring
Returns
IsKingdomNameApplicable(string)
public static Tuple<bool, string> IsKingdomNameApplicable(string name)
Parameters
namestring
Returns
IsMainClanMemberAvailableForPartyLeaderChange(Hero, bool, MobileParty, out TextObject)
public static bool IsMainClanMemberAvailableForPartyLeaderChange(Hero hero, bool isSend, MobileParty targetParty, out TextObject explanation)
Parameters
heroHeroisSendbooltargetPartyMobilePartyexplanationTextObject
Returns
IsMainClanMemberAvailableForRecall(Hero, MobileParty, out TextObject)
public static bool IsMainClanMemberAvailableForRecall(Hero hero, MobileParty targetParty, out TextObject explanation)
Parameters
heroHerotargetPartyMobilePartyexplanationTextObject
Returns
IsMainClanMemberAvailableForSendingSettlement(Hero, Settlement, out TextObject)
public static bool IsMainClanMemberAvailableForSendingSettlement(Hero hero, Settlement targetSettlement, out TextObject explanation)
Parameters
heroHerotargetSettlementSettlementexplanationTextObject
Returns
IsMainClanMemberAvailableForSendingSettlementAsGovernor(Hero, Settlement, out TextObject)
public static bool IsMainClanMemberAvailableForSendingSettlementAsGovernor(Hero hero, Settlement settlementOfGovernor, out TextObject explanation)
Parameters
heroHerosettlementOfGovernorSettlementexplanationTextObject
Returns
OwnerClanEconomyEffectOnGarrisonSizeConstant(Clan)
public static float OwnerClanEconomyEffectOnGarrisonSizeConstant(Clan clan)
Parameters
clanClan
Returns
SettlementFoodPotentialEffectOnGarrisonSizeConstant(Settlement)
public static float SettlementFoodPotentialEffectOnGarrisonSizeConstant(Settlement settlement)
Parameters
settlementSettlement
Returns
SettlementProsperityEffectOnGarrisonSizeConstant(Town)
public static float SettlementProsperityEffectOnGarrisonSizeConstant(Town town)
Parameters
townTown
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).