Inherits TaleWorlds.ObjectSystem.MBObjectBase, and TaleWorlds.CampaignSystem.IFaction.
|
| override TextObject | GetName () |
| |
| override string | ToString () |
| |
| void | UpdateFactionsAtWarWith () |
| |
| void | UpdateAlliedKingdoms () |
| |
| | Kingdom () |
| |
| void | InitializeKingdom (TextObject name, TextObject informalName, CultureObject culture, Banner banner, uint kingdomColor1, uint kingdomColor2, Settlement initialHomeSettlement, TextObject encyclopediaText, TextObject encyclopediaTitle, TextObject encyclopediaRulerTitle) |
| |
| void | ChangeKingdomName (TextObject name, TextObject informalName) |
| |
| void | OnHeroChangedState (Hero hero, Hero.CharacterStates oldState) |
| |
| bool | IsAllyWith (Kingdom other) |
| |
| bool | HasCalledToWar (Kingdom other) |
| |
| bool | IsAtWarWith (IFaction other) |
| |
| bool | IsAtConstantWarWith (IFaction other) |
| |
| StanceLink | GetStanceWith (IFaction other) |
| |
| void | CreateArmy (Hero armyLeader, Settlement targetSettlement, Army.ArmyTypes selectedArmyType, MBReadOnlyList< MobileParty > partiesToCallToArmy=null) |
| |
| void | AddDecision (KingdomDecision kingdomDecision, bool ignoreInfluenceCost=false) |
| |
| void | RemoveDecision (KingdomDecision kingdomDecision) |
| |
| void | OnKingdomDecisionConcluded () |
| |
| void | AddPolicy (PolicyObject policy) |
| |
| void | RemovePolicy (PolicyObject policy) |
| |
| bool | HasPolicy (PolicyObject policy) |
| |
| override void | Deserialize (MBObjectManager objectManager, XmlNode node) |
| | De-serializes the object from an XmlNode.
|
| |
| void | OnFortificationAdded (Town fortification) |
| |
| void | OnFortificationRemoved (Town fortification) |
| |
| void | OnHeroAdded (Hero hero) |
| |
| void | OnHeroRemoved (Hero hero) |
| |
| void | OnWarPartyAdded (WarPartyComponent warPartyComponent) |
| |
| void | OnWarPartyRemoved (WarPartyComponent warPartyComponent) |
| |
| void | CalculateMidSettlement () |
| |
| void | ReactivateKingdom () |
| |
| | MBObjectBase () |
| |
| | MBObjectBase (MBObjectBase other) |
| |
| | MBObjectBase (string stringId) |
| |
| void | AfterInitialized () |
| |
| virtual void | AfterRegister () |
| |
| virtual void | Initialize () |
| |
| override int | GetHashCode () |
| |
| void | PreAfterLoadInternal () |
| |
| void | AfterLoadInternal () |
| |
| void | OnRegistered () |
| |
| void | OnUnregistered () |
| |
|
| TextObject | Name [get] |
| |
| TextObject | InformalName [get] |
| |
| TextObject | EncyclopediaText [get] |
| |
| TextObject | EncyclopediaTitle [get] |
| |
| TextObject | EncyclopediaRulerTitle [get] |
| |
| string | EncyclopediaLink [get] |
| |
| TextObject | EncyclopediaLinkWithName [get] |
| |
| MBReadOnlyList< KingdomDecision > | UnresolvedDecisions [get] |
| |
| CultureObject | Culture [get] |
| |
| Settlement | InitialHomeSettlement [get] |
| | Point to spawn around if no settlement remained.
|
| |
| bool | IsMapFaction [get] |
| |
| bool | HasNavalNavigationCapability [get] |
| |
| uint | Color [get] |
| |
| uint | Color2 [get] |
| |
| uint | PrimaryBannerColor [get] |
| |
| uint | SecondaryBannerColor [get] |
| |
| float | MainHeroCrimeRating [get, set] |
| |
| MBReadOnlyList< IFaction > | FactionsAtWarWith [get] |
| |
| MBReadOnlyList< Kingdom > | AlliedKingdoms [get] |
| |
| MBReadOnlyList< Town > | Fiefs [get] |
| |
| MBReadOnlyList< Village > | Villages [get] |
| |
| MBReadOnlyList< Settlement > | Settlements [get] |
| |
| MBReadOnlyList< Hero > | Heroes [get] |
| |
| MBReadOnlyList< Hero > | AliveLords [get] |
| |
| MBReadOnlyList< Hero > | DeadLords [get] |
| |
| MBReadOnlyList< WarPartyComponent > | WarPartyComponents [get] |
| |
| float | DailyCrimeRatingChange [get] |
| |
| ExplainedNumber | DailyCrimeRatingChangeExplained [get] |
| |
| CharacterObject | BasicTroop [get] |
| |
| Hero | Leader [get] |
| |
| Banner | Banner [get, set] |
| |
| bool | IsBanditFaction [get] |
| |
| bool | IsMinorFaction [get] |
| |
| bool | IsRebelClan [get] |
| |
| bool | IsClan [get] |
| |
| bool | IsOutlaw [get] |
| |
| MBReadOnlyList< Clan > | Clans [get] |
| |
| Clan | RulingClan [get, set] |
| |
| int | LastArmyCreationDay [get] |
| |
| MBReadOnlyList< Army > | Armies [get] |
| |
| float | CurrentTotalStrength [get] |
| |
| Settlement | FactionMidSettlement [get] |
| |
| float | DistanceToClosestNonAllyFortification [get] |
| |
| IList< PolicyObject > | ActivePolicies [get] |
| |
| static MBReadOnlyList< Kingdom > | All [get] |
| |
| CampaignTime | LastKingdomDecisionConclusionDate [get] |
| |
| bool | IsEliminated [get] |
| |
| CampaignTime | LastMercenaryOfferTime [get, set] |
| |
| IFaction | MapFaction [get] |
| |
| CampaignTime | NotAttackableByPlayerUntilTime [get, set] |
| |
| float | Aggressiveness [get] |
| | Kingdom Aggressiveness between 0 and 100 This is used for AI in evaluating peace offers and war proposals A kingdom with high aggressiveness can be declared war at without penalty.
|
| |
| IEnumerable< MobileParty > | AllParties [get] |
| |
| int | MercenaryWallet [get] |
| |
| int | TributeWallet [get, set] |
| | Gold for spending on tributes. Can be negative which means tribute debt.
|
| |
| int | KingdomBudgetWallet [get, set] |
| |
| int | CallToWarWallet [get, set] |
| |
| string | StringId [get, set] |
| |
| MBGUID | Id [get, set] |
| |
| bool | IsInitialized [get] |
| |
| bool | IsReady [get, set] |
| |
| string | StringId [get] |
| |
| MBGUID | Id [get] |
| |
◆ Kingdom()
| TaleWorlds.CampaignSystem.Kingdom.Kingdom |
( |
| ) |
|
◆ GetName()
| override TextObject TaleWorlds.CampaignSystem.Kingdom.GetName |
( |
| ) |
|
|
virtual |
◆ ToString()
| override string TaleWorlds.CampaignSystem.Kingdom.ToString |
( |
| ) |
|
◆ UpdateFactionsAtWarWith()
| void TaleWorlds.CampaignSystem.Kingdom.UpdateFactionsAtWarWith |
( |
| ) |
|
◆ UpdateAlliedKingdoms()
| void TaleWorlds.CampaignSystem.Kingdom.UpdateAlliedKingdoms |
( |
| ) |
|
◆ CreateKingdom()
| static Kingdom TaleWorlds.CampaignSystem.Kingdom.CreateKingdom |
( |
string | stringID | ) |
|
|
static |
◆ InitializeKingdom()
◆ ChangeKingdomName()
| void TaleWorlds.CampaignSystem.Kingdom.ChangeKingdomName |
( |
TextObject | name, |
|
|
TextObject | informalName ) |
◆ OnHeroChangedState()
◆ AfterLoad()
| override void TaleWorlds.CampaignSystem.Kingdom.AfterLoad |
( |
| ) |
|
|
protectedvirtual |
◆ IsAllyWith()
| bool TaleWorlds.CampaignSystem.Kingdom.IsAllyWith |
( |
Kingdom | other | ) |
|
◆ HasCalledToWar()
| bool TaleWorlds.CampaignSystem.Kingdom.HasCalledToWar |
( |
Kingdom | other | ) |
|
◆ IsAtWarWith()
| bool TaleWorlds.CampaignSystem.Kingdom.IsAtWarWith |
( |
IFaction | other | ) |
|
◆ IsAtConstantWarWith()
| bool TaleWorlds.CampaignSystem.Kingdom.IsAtConstantWarWith |
( |
IFaction | other | ) |
|
◆ GetStanceWith()
◆ CreateArmy()
◆ AddDecision()
| void TaleWorlds.CampaignSystem.Kingdom.AddDecision |
( |
KingdomDecision | kingdomDecision, |
|
|
bool | ignoreInfluenceCost = false ) |
◆ RemoveDecision()
| void TaleWorlds.CampaignSystem.Kingdom.RemoveDecision |
( |
KingdomDecision | kingdomDecision | ) |
|
◆ OnKingdomDecisionConcluded()
| void TaleWorlds.CampaignSystem.Kingdom.OnKingdomDecisionConcluded |
( |
| ) |
|
◆ AddPolicy()
| void TaleWorlds.CampaignSystem.Kingdom.AddPolicy |
( |
PolicyObject | policy | ) |
|
◆ RemovePolicy()
| void TaleWorlds.CampaignSystem.Kingdom.RemovePolicy |
( |
PolicyObject | policy | ) |
|
◆ HasPolicy()
| bool TaleWorlds.CampaignSystem.Kingdom.HasPolicy |
( |
PolicyObject | policy | ) |
|
◆ Deserialize()
| override void TaleWorlds.CampaignSystem.Kingdom.Deserialize |
( |
MBObjectManager | objectManager, |
|
|
XmlNode | node ) |
|
virtual |
◆ OnFortificationAdded()
| void TaleWorlds.CampaignSystem.Kingdom.OnFortificationAdded |
( |
Town | fortification | ) |
|
◆ OnFortificationRemoved()
| void TaleWorlds.CampaignSystem.Kingdom.OnFortificationRemoved |
( |
Town | fortification | ) |
|
◆ OnHeroAdded()
| void TaleWorlds.CampaignSystem.Kingdom.OnHeroAdded |
( |
Hero | hero | ) |
|
◆ OnHeroRemoved()
| void TaleWorlds.CampaignSystem.Kingdom.OnHeroRemoved |
( |
Hero | hero | ) |
|
◆ OnWarPartyAdded()
| void TaleWorlds.CampaignSystem.Kingdom.OnWarPartyAdded |
( |
WarPartyComponent | warPartyComponent | ) |
|
◆ OnWarPartyRemoved()
| void TaleWorlds.CampaignSystem.Kingdom.OnWarPartyRemoved |
( |
WarPartyComponent | warPartyComponent | ) |
|
◆ CalculateMidSettlement()
| void TaleWorlds.CampaignSystem.Kingdom.CalculateMidSettlement |
( |
| ) |
|
◆ ReactivateKingdom()
| void TaleWorlds.CampaignSystem.Kingdom.ReactivateKingdom |
( |
| ) |
|
◆ PoliticalStagnation
| int TaleWorlds.CampaignSystem.Kingdom.PoliticalStagnation |
◆ Name
◆ InformalName
| TextObject TaleWorlds.CampaignSystem.Kingdom.InformalName |
|
get |
◆ EncyclopediaText
| TextObject TaleWorlds.CampaignSystem.Kingdom.EncyclopediaText |
|
get |
◆ EncyclopediaTitle
| TextObject TaleWorlds.CampaignSystem.Kingdom.EncyclopediaTitle |
|
get |
◆ EncyclopediaRulerTitle
| TextObject TaleWorlds.CampaignSystem.Kingdom.EncyclopediaRulerTitle |
|
get |
◆ EncyclopediaLink
| string TaleWorlds.CampaignSystem.Kingdom.EncyclopediaLink |
|
get |
◆ EncyclopediaLinkWithName
| TextObject TaleWorlds.CampaignSystem.Kingdom.EncyclopediaLinkWithName |
|
get |
◆ UnresolvedDecisions
◆ Culture
◆ InitialHomeSettlement
| Settlement TaleWorlds.CampaignSystem.Kingdom.InitialHomeSettlement |
|
get |
◆ IsMapFaction
| bool TaleWorlds.CampaignSystem.Kingdom.IsMapFaction |
|
get |
◆ HasNavalNavigationCapability
| bool TaleWorlds.CampaignSystem.Kingdom.HasNavalNavigationCapability |
|
get |
◆ Color
| uint TaleWorlds.CampaignSystem.Kingdom.Color |
|
get |
◆ Color2
| uint TaleWorlds.CampaignSystem.Kingdom.Color2 |
|
get |
◆ PrimaryBannerColor
| uint TaleWorlds.CampaignSystem.Kingdom.PrimaryBannerColor |
|
get |
◆ SecondaryBannerColor
| uint TaleWorlds.CampaignSystem.Kingdom.SecondaryBannerColor |
|
get |
◆ MainHeroCrimeRating
| float TaleWorlds.CampaignSystem.Kingdom.MainHeroCrimeRating |
|
getset |
◆ FactionsAtWarWith
◆ AlliedKingdoms
◆ Fiefs
◆ Villages
◆ Settlements
◆ Heroes
◆ AliveLords
◆ DeadLords
◆ WarPartyComponents
◆ DailyCrimeRatingChange
| float TaleWorlds.CampaignSystem.Kingdom.DailyCrimeRatingChange |
|
get |
◆ DailyCrimeRatingChangeExplained
| ExplainedNumber TaleWorlds.CampaignSystem.Kingdom.DailyCrimeRatingChangeExplained |
|
get |
◆ BasicTroop
◆ Leader
| Hero TaleWorlds.CampaignSystem.Kingdom.Leader |
|
get |
◆ Banner
| Banner TaleWorlds.CampaignSystem.Kingdom.Banner |
|
getset |
◆ IsBanditFaction
| bool TaleWorlds.CampaignSystem.Kingdom.IsBanditFaction |
|
get |
◆ IsMinorFaction
| bool TaleWorlds.CampaignSystem.Kingdom.IsMinorFaction |
|
get |
◆ IsRebelClan
| bool TaleWorlds.CampaignSystem.Kingdom.IsRebelClan |
|
get |
◆ IsClan
| bool TaleWorlds.CampaignSystem.Kingdom.IsClan |
|
get |
◆ IsOutlaw
| bool TaleWorlds.CampaignSystem.Kingdom.IsOutlaw |
|
get |
◆ Clans
◆ RulingClan
| Clan TaleWorlds.CampaignSystem.Kingdom.RulingClan |
|
getset |
◆ LastArmyCreationDay
| int TaleWorlds.CampaignSystem.Kingdom.LastArmyCreationDay |
|
get |
◆ Armies
◆ CurrentTotalStrength
| float TaleWorlds.CampaignSystem.Kingdom.CurrentTotalStrength |
|
get |
◆ FactionMidSettlement
| Settlement TaleWorlds.CampaignSystem.Kingdom.FactionMidSettlement |
|
get |
◆ DistanceToClosestNonAllyFortification
| float TaleWorlds.CampaignSystem.Kingdom.DistanceToClosestNonAllyFortification |
|
get |
◆ ActivePolicies
| IList<PolicyObject> TaleWorlds.CampaignSystem.Kingdom.ActivePolicies |
|
get |
◆ All
◆ LastKingdomDecisionConclusionDate
| CampaignTime TaleWorlds.CampaignSystem.Kingdom.LastKingdomDecisionConclusionDate |
|
get |
◆ IsEliminated
| bool TaleWorlds.CampaignSystem.Kingdom.IsEliminated |
|
get |
◆ LastMercenaryOfferTime
| CampaignTime TaleWorlds.CampaignSystem.Kingdom.LastMercenaryOfferTime |
|
getset |
◆ MapFaction
| IFaction TaleWorlds.CampaignSystem.Kingdom.MapFaction |
|
get |
◆ NotAttackableByPlayerUntilTime
| CampaignTime TaleWorlds.CampaignSystem.Kingdom.NotAttackableByPlayerUntilTime |
|
getset |
◆ Aggressiveness
| float TaleWorlds.CampaignSystem.Kingdom.Aggressiveness |
|
get |
◆ AllParties
| IEnumerable<MobileParty> TaleWorlds.CampaignSystem.Kingdom.AllParties |
|
get |
◆ MercenaryWallet
| int TaleWorlds.CampaignSystem.Kingdom.MercenaryWallet |
|
get |
◆ TributeWallet
| int TaleWorlds.CampaignSystem.Kingdom.TributeWallet |
|
getset |
◆ KingdomBudgetWallet
| int TaleWorlds.CampaignSystem.Kingdom.KingdomBudgetWallet |
|
getset |
◆ CallToWarWallet
| int TaleWorlds.CampaignSystem.Kingdom.CallToWarWallet |
|
getset |