M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultDiplomacyModel.

Public Member Functions

float GetStrengthThresholdForNonMutualWarsToBeIgnoredToJoinKingdom (Kingdom kingdomToJoin)
 
float GetRelationIncreaseFactor (Hero hero1, Hero hero2, float relationValue)
 
int GetInfluenceAwardForSettlementCapturer (Settlement settlement)
 
float GetHourlyInfluenceAwardForRaidingEnemyVillage (MobileParty mobileParty)
 
float GetHourlyInfluenceAwardForBesiegingEnemyFortification (MobileParty mobileParty)
 
float GetHourlyInfluenceAwardForBeingArmyMember (MobileParty mobileParty)
 
float GetScoreOfClanToJoinKingdom (Clan clan, Kingdom kingdom)
 
float GetScoreOfClanToLeaveKingdom (Clan clan, Kingdom kingdom)
 
float GetScoreOfKingdomToGetClan (Kingdom kingdom, Clan clan)
 
float GetScoreOfKingdomToSackClan (Kingdom kingdom, Clan clan)
 
float GetScoreOfMercenaryToJoinKingdom (Clan clan, Kingdom kingdom)
 
float GetScoreOfMercenaryToLeaveKingdom (Clan clan, Kingdom kingdom)
 
float GetScoreOfKingdomToHireMercenary (Kingdom kingdom, Clan mercenaryClan)
 
float GetScoreOfKingdomToSackMercenary (Kingdom kingdom, Clan mercenaryClan)
 
float GetScoreOfDeclaringPeace (IFaction factionDeclaresPeace, IFaction factionDeclaredPeace, IFaction evaluatingFaction, out TextObject reason)
 
float GetScoreOfDeclaringWar (IFaction factionDeclaresWar, IFaction factionDeclaredWar, IFaction evaluatingFaction, out TextObject reason)
 
float GetScoreOfLettingPartyGo (MobileParty party, MobileParty partyToLetGo)
 
float GetValueOfHeroForFaction (Hero examinedHero, IFaction targetFaction, bool forMarriage=false)
 
int GetRelationCostOfExpellingClanFromKingdom ()
 
int GetInfluenceCostOfSupportingClan ()
 
int GetInfluenceCostOfExpellingClan (Clan proposingClan)
 
int GetInfluenceCostOfProposingPeace (Clan proposingClan)
 
int GetInfluenceCostOfProposingWar (Clan proposingClan)
 
int GetInfluenceValueOfSupportingClan ()
 
int GetRelationValueOfSupportingClan ()
 
int GetInfluenceCostOfAnnexation (Clan proposingClan)
 
int GetInfluenceCostOfChangingLeaderOfArmy ()
 
int GetInfluenceCostOfDisbandingArmy ()
 
int GetRelationCostOfDisbandingArmy (bool isLeaderParty)
 
int GetInfluenceCostOfPolicyProposalAndDisavowal (Clan proposingClan)
 
int GetInfluenceCostOfAbandoningArmy ()
 
int GetEffectiveRelation (Hero hero, Hero hero1)
 
int GetBaseRelation (Hero hero, Hero hero1)
 
void GetHeroesForEffectiveRelation (Hero hero1, Hero hero2, out Hero effectiveHero1, out Hero effectiveHero2)
 
int GetRelationChangeAfterClanLeaderIsDead (Hero deadLeader, Hero relationHero)
 
int GetRelationChangeAfterVotingInSettlementOwnerPreliminaryDecision (Hero supporter, bool hasHeroVotedAgainstOwner)
 
float GetClanStrength (Clan clan)
 
float GetHeroCommandingStrengthForClan (Hero hero)
 
float GetHeroGoverningStrengthForClan (Hero hero)
 
uint GetNotificationColor (ChatNotificationType notificationType)
 
int GetValueOfDailyTribute (int dailyTributeAmount)
 
int GetDailyTributeForValue (int value)
 
bool CanSettlementBeGifted (Settlement settlement)
 
bool IsClanEligibleToBecomeRuler (Clan clan)
 
IEnumerable< BarterGroup > GetBarterGroups ()
 
int GetCharmExperienceFromRelationGain (Hero hero, float relationChange, ChangeRelationAction.ChangeRelationDetail detail)
 
float DenarsToInfluence ()
 

Properties

int MaxRelationLimit [get]
 
int MinRelationLimit [get]
 
int MaxNeutralRelationLimit [get]
 
int MinNeutralRelationLimit [get]
 
int MinimumRelationWithConversationCharacterToJoinKingdom [get]
 
int GiftingTownRelationshipBonus [get]
 
int GiftingCastleRelationshipBonus [get]
 

Member Function Documentation

◆ GetStrengthThresholdForNonMutualWarsToBeIgnoredToJoinKingdom()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetStrengthThresholdForNonMutualWarsToBeIgnoredToJoinKingdom ( Kingdom kingdomToJoin)
abstract

◆ GetRelationIncreaseFactor()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetRelationIncreaseFactor ( Hero hero1,
Hero hero2,
float relationValue )
abstract

◆ GetInfluenceAwardForSettlementCapturer()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceAwardForSettlementCapturer ( Settlement settlement)
abstract

◆ GetHourlyInfluenceAwardForRaidingEnemyVillage()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetHourlyInfluenceAwardForRaidingEnemyVillage ( MobileParty mobileParty)
abstract

◆ GetHourlyInfluenceAwardForBesiegingEnemyFortification()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetHourlyInfluenceAwardForBesiegingEnemyFortification ( MobileParty mobileParty)
abstract

◆ GetHourlyInfluenceAwardForBeingArmyMember()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetHourlyInfluenceAwardForBeingArmyMember ( MobileParty mobileParty)
abstract

◆ GetScoreOfClanToJoinKingdom()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfClanToJoinKingdom ( Clan clan,
Kingdom kingdom )
abstract

◆ GetScoreOfClanToLeaveKingdom()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfClanToLeaveKingdom ( Clan clan,
Kingdom kingdom )
abstract

◆ GetScoreOfKingdomToGetClan()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfKingdomToGetClan ( Kingdom kingdom,
Clan clan )
abstract

◆ GetScoreOfKingdomToSackClan()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfKingdomToSackClan ( Kingdom kingdom,
Clan clan )
abstract

◆ GetScoreOfMercenaryToJoinKingdom()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfMercenaryToJoinKingdom ( Clan clan,
Kingdom kingdom )
abstract

◆ GetScoreOfMercenaryToLeaveKingdom()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfMercenaryToLeaveKingdom ( Clan clan,
Kingdom kingdom )
abstract

◆ GetScoreOfKingdomToHireMercenary()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfKingdomToHireMercenary ( Kingdom kingdom,
Clan mercenaryClan )
abstract

◆ GetScoreOfKingdomToSackMercenary()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfKingdomToSackMercenary ( Kingdom kingdom,
Clan mercenaryClan )
abstract

◆ GetScoreOfDeclaringPeace()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfDeclaringPeace ( IFaction factionDeclaresPeace,
IFaction factionDeclaredPeace,
IFaction evaluatingFaction,
out TextObject reason )
abstract

◆ GetScoreOfDeclaringWar()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfDeclaringWar ( IFaction factionDeclaresWar,
IFaction factionDeclaredWar,
IFaction evaluatingFaction,
out TextObject reason )
abstract

◆ GetScoreOfLettingPartyGo()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetScoreOfLettingPartyGo ( MobileParty party,
MobileParty partyToLetGo )
abstract

◆ GetValueOfHeroForFaction()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetValueOfHeroForFaction ( Hero examinedHero,
IFaction targetFaction,
bool forMarriage = false )
abstract

◆ GetRelationCostOfExpellingClanFromKingdom()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetRelationCostOfExpellingClanFromKingdom ( )
abstract

◆ GetInfluenceCostOfSupportingClan()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfSupportingClan ( )
abstract

◆ GetInfluenceCostOfExpellingClan()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfExpellingClan ( Clan proposingClan)
abstract

◆ GetInfluenceCostOfProposingPeace()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfProposingPeace ( Clan proposingClan)
abstract

◆ GetInfluenceCostOfProposingWar()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfProposingWar ( Clan proposingClan)
abstract

◆ GetInfluenceValueOfSupportingClan()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceValueOfSupportingClan ( )
abstract

◆ GetRelationValueOfSupportingClan()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetRelationValueOfSupportingClan ( )
abstract

◆ GetInfluenceCostOfAnnexation()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfAnnexation ( Clan proposingClan)
abstract

◆ GetInfluenceCostOfChangingLeaderOfArmy()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfChangingLeaderOfArmy ( )
abstract

◆ GetInfluenceCostOfDisbandingArmy()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfDisbandingArmy ( )
abstract

◆ GetRelationCostOfDisbandingArmy()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetRelationCostOfDisbandingArmy ( bool isLeaderParty)
abstract

◆ GetInfluenceCostOfPolicyProposalAndDisavowal()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfPolicyProposalAndDisavowal ( Clan proposingClan)
abstract

◆ GetInfluenceCostOfAbandoningArmy()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfAbandoningArmy ( )
abstract

◆ GetEffectiveRelation()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetEffectiveRelation ( Hero hero,
Hero hero1 )
abstract

◆ GetBaseRelation()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetBaseRelation ( Hero hero,
Hero hero1 )
abstract

◆ GetHeroesForEffectiveRelation()

void TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetHeroesForEffectiveRelation ( Hero hero1,
Hero hero2,
out Hero effectiveHero1,
out Hero effectiveHero2 )
abstract

◆ GetRelationChangeAfterClanLeaderIsDead()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetRelationChangeAfterClanLeaderIsDead ( Hero deadLeader,
Hero relationHero )
abstract

◆ GetRelationChangeAfterVotingInSettlementOwnerPreliminaryDecision()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetRelationChangeAfterVotingInSettlementOwnerPreliminaryDecision ( Hero supporter,
bool hasHeroVotedAgainstOwner )
abstract

◆ GetClanStrength()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetClanStrength ( Clan clan)
abstract

◆ GetHeroCommandingStrengthForClan()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetHeroCommandingStrengthForClan ( Hero hero)
abstract

◆ GetHeroGoverningStrengthForClan()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetHeroGoverningStrengthForClan ( Hero hero)
abstract

◆ GetNotificationColor()

uint TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetNotificationColor ( ChatNotificationType notificationType)
abstract

◆ GetValueOfDailyTribute()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetValueOfDailyTribute ( int dailyTributeAmount)
abstract

◆ GetDailyTributeForValue()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetDailyTributeForValue ( int value)
abstract

◆ CanSettlementBeGifted()

bool TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.CanSettlementBeGifted ( Settlement settlement)
abstract

◆ IsClanEligibleToBecomeRuler()

bool TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.IsClanEligibleToBecomeRuler ( Clan clan)
abstract

◆ GetBarterGroups()

IEnumerable< BarterGroup > TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetBarterGroups ( )
abstract

◆ GetCharmExperienceFromRelationGain()

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetCharmExperienceFromRelationGain ( Hero hero,
float relationChange,
ChangeRelationAction.ChangeRelationDetail detail )
abstract

◆ DenarsToInfluence()

float TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.DenarsToInfluence ( )
abstract

Property Documentation

◆ MaxRelationLimit

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.MaxRelationLimit
getabstract

◆ MinRelationLimit

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.MinRelationLimit
getabstract

◆ MaxNeutralRelationLimit

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.MaxNeutralRelationLimit
getabstract

◆ MinNeutralRelationLimit

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.MinNeutralRelationLimit
getabstract

◆ MinimumRelationWithConversationCharacterToJoinKingdom

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.MinimumRelationWithConversationCharacterToJoinKingdom
getabstract

◆ GiftingTownRelationshipBonus

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GiftingTownRelationshipBonus
getabstract

◆ GiftingCastleRelationshipBonus

int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GiftingCastleRelationshipBonus
getabstract