Inherits TaleWorlds.ObjectSystem.MBObjectBase, and TaleWorlds.CampaignSystem.IFaction.
|
override string | ToString () |
|
| Kingdom () |
|
void | InitializeKingdom (TextObject name, TextObject informalName, CultureObject culture, Banner banner, uint kingdomColor1, uint kingdomColor2, Settlement initialHomeland, TextObject encyclopediaText, TextObject encyclopediaTitle, TextObject encyclopediaRulerTitle) |
|
void | ChangeKingdomName (TextObject name, TextObject informalName) |
|
void | OnNewGameCreated (CampaignGameStarter starter) |
|
bool | IsAtWarWith (IFaction other) |
|
StanceLink | GetStanceWith (IFaction other) |
|
void | CreateArmy (Hero armyLeader, Settlement targetSettlement, Army.ArmyTypes selectedArmyType) |
|
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 fief) |
|
void | OnFiefRemoved (Town fief) |
|
void | OnHeroAdded (Hero hero) |
|
void | OnHeroRemoved (Hero hero) |
|
void | OnWarPartyAdded (WarPartyComponent warPartyComponent) |
|
void | OnWarPartyRemoved (WarPartyComponent warPartyComponent) |
|
void | ReactivateKingdom () |
|
| MBObjectBase () |
|
| MBObjectBase (MBObjectBase other) |
|
| MBObjectBase (string stringId) |
|
void | AfterInitialized () |
|
virtual void | AfterRegister () |
|
virtual void | Initialize () |
|
virtual void | Deserialize (MBObjectManager objectManager, XmlNode node) |
|
override int | GetHashCode () |
|
virtual TextObject | GetName () |
|
void | PreAfterLoadInternal () |
|
void | AfterLoadInternal () |
|
void | OnRegistered () |
|
void | OnUnregistered () |
|
bool | IsAtWarWith (IFaction other) |
|
StanceLink | GetStanceWith (IFaction other) |
|
|
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 | InitialHomeLand [get] |
|
Vec2 | InitialPosition [get] |
| Point to spawn around if no settlement remained.
|
|
bool | IsMapFaction [get] |
|
uint | LabelColor [get] |
|
uint | Color [get] |
|
uint | Color2 [get] |
|
uint | AlternativeColor [get] |
|
uint | AlternativeColor2 [get] |
|
uint | PrimaryBannerColor [get] |
|
uint | SecondaryBannerColor [get] |
|
float | MainHeroCrimeRating [get, set] |
|
IEnumerable< StanceLink > | Stances [get] |
|
MBReadOnlyList< Town > | Fiefs [get] |
|
MBReadOnlyList< Village > | Villages [get] |
|
MBReadOnlyList< Settlement > | Settlements [get] |
|
MBReadOnlyList< Hero > | Heroes [get] |
|
MBReadOnlyList< Hero > | Lords [get] |
|
MBReadOnlyList< WarPartyComponent > | WarPartyComponents [get] |
|
float | DailyCrimeRatingChange [get] |
|
ExplainedNumber | DailyCrimeRatingChangeExplained [get] |
|
CharacterObject | BasicTroop [get] |
|
Hero | Leader [get] |
|
Banner | Banner [get] |
|
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 | TotalStrength [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] |
|
Settlement | FactionMidSettlement [get] |
|
int | MercenaryWallet [get] |
|
int | TributeWallet [get, set] |
| Gold for spending on tributes. Can be negative which means tribute debt.
|
|
int | KingdomBudgetWallet [get, set] |
|
string | StringId [get, set] |
|
MBGUID | Id [get, set] |
|
bool | IsInitialized [get] |
|
bool | IsReady [get, set] |
|
TextObject | Name [get] |
|
string | StringId [get] |
|
MBGUID | Id [get] |
|
TextObject | InformalName [get] |
|
string | EncyclopediaLink [get] |
|
TextObject | EncyclopediaLinkWithName [get] |
|
TextObject | EncyclopediaText [get] |
|
CultureObject | Culture [get] |
|
Vec2 | InitialPosition [get] |
| Point to spawn around if no settlement remained.
|
|
uint | LabelColor [get] |
|
uint | Color [get] |
|
uint | Color2 [get] |
|
uint | AlternativeColor [get] |
|
uint | AlternativeColor2 [get] |
|
CharacterObject | BasicTroop [get] |
|
Hero | Leader [get] |
|
Banner | Banner [get] |
|
MBReadOnlyList< Settlement > | Settlements [get] |
|
MBReadOnlyList< Town > | Fiefs [get] |
|
MBReadOnlyList< Hero > | Lords [get] |
|
MBReadOnlyList< Hero > | Heroes [get] |
|
MBReadOnlyList< WarPartyComponent > | WarPartyComponents [get] |
|
bool | IsBanditFaction [get] |
|
bool | IsMinorFaction [get] |
|
bool | IsKingdomFaction [get] |
|
bool | IsRebelClan [get] |
|
bool | IsClan [get] |
|
bool | IsOutlaw [get] |
|
bool | IsMapFaction [get] |
|
IFaction | MapFaction [get] |
|
float | TotalStrength [get] |
|
Settlement | FactionMidSettlement [get] |
|
float | DistanceToClosestNonAllyFortification [get] |
|
IEnumerable< StanceLink > | Stances [get] |
|
int | TributeWallet [get, set] |
| Gold for spending on tributes. Can be negative which means tribute debt.
|
|
float | MainHeroCrimeRating [get, set] |
|
float | DailyCrimeRatingChange [get] |
|
float | Aggressiveness [get] |
|
bool | IsEliminated [get] |
|
ExplainedNumber | DailyCrimeRatingChangeExplained [get] |
|
CampaignTime | NotAttackableByPlayerUntilTime [get, set] |
|
◆ Kingdom()
TaleWorlds.CampaignSystem.Kingdom.Kingdom |
( |
| ) |
|
◆ ToString()
override string TaleWorlds.CampaignSystem.Kingdom.ToString |
( |
| ) |
|
◆ CreateKingdom()
static Kingdom TaleWorlds.CampaignSystem.Kingdom.CreateKingdom |
( |
string |
stringID | ) |
|
|
static |
◆ InitializeKingdom()
◆ ChangeKingdomName()
void TaleWorlds.CampaignSystem.Kingdom.ChangeKingdomName |
( |
TextObject |
name, |
|
|
TextObject |
informalName |
|
) |
| |
◆ OnNewGameCreated()
◆ AfterLoad()
override void TaleWorlds.CampaignSystem.Kingdom.AfterLoad |
( |
| ) |
|
|
protectedvirtual |
◆ IsAtWarWith()
bool TaleWorlds.CampaignSystem.Kingdom.IsAtWarWith |
( |
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 |
fief | ) |
|
◆ OnFiefRemoved()
void TaleWorlds.CampaignSystem.Kingdom.OnFiefRemoved |
( |
Town |
fief | ) |
|
◆ 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 | ) |
|
◆ 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
◆ InitialHomeLand
Settlement TaleWorlds.CampaignSystem.Kingdom.InitialHomeLand |
|
get |
◆ InitialPosition
Vec2 TaleWorlds.CampaignSystem.Kingdom.InitialPosition |
|
get |
◆ IsMapFaction
bool TaleWorlds.CampaignSystem.Kingdom.IsMapFaction |
|
get |
◆ LabelColor
uint TaleWorlds.CampaignSystem.Kingdom.LabelColor |
|
get |
◆ Color
uint TaleWorlds.CampaignSystem.Kingdom.Color |
|
get |
◆ Color2
uint TaleWorlds.CampaignSystem.Kingdom.Color2 |
|
get |
◆ AlternativeColor
uint TaleWorlds.CampaignSystem.Kingdom.AlternativeColor |
|
get |
◆ AlternativeColor2
uint TaleWorlds.CampaignSystem.Kingdom.AlternativeColor2 |
|
get |
◆ PrimaryBannerColor
uint TaleWorlds.CampaignSystem.Kingdom.PrimaryBannerColor |
|
get |
◆ SecondaryBannerColor
uint TaleWorlds.CampaignSystem.Kingdom.SecondaryBannerColor |
|
get |
◆ MainHeroCrimeRating
float TaleWorlds.CampaignSystem.Kingdom.MainHeroCrimeRating |
|
getset |
◆ Stances
IEnumerable<StanceLink> TaleWorlds.CampaignSystem.Kingdom.Stances |
|
get |
◆ Fiefs
◆ Villages
◆ Settlements
◆ Heroes
◆ Lords
◆ 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 |
|
get |
◆ 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
◆ TotalStrength
float TaleWorlds.CampaignSystem.Kingdom.TotalStrength |
|
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 |
◆ FactionMidSettlement
Settlement TaleWorlds.CampaignSystem.Kingdom.FactionMidSettlement |
|
get |
◆ MercenaryWallet
int TaleWorlds.CampaignSystem.Kingdom.MercenaryWallet |
|
get |
◆ TributeWallet
int TaleWorlds.CampaignSystem.Kingdom.TributeWallet |
|
getset |
◆ KingdomBudgetWallet
int TaleWorlds.CampaignSystem.Kingdom.KingdomBudgetWallet |
|
getset |