M&B: Bannerlord 1.0.0
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

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

Properties

abstract int MinimumRelationWithConversationCharacterToJoinKingdom [get]
 
abstract int GiftingTownRelationshipBonus [get]
 
abstract int GiftingCastleRelationshipBonus [get]
 

Member Function Documentation

◆ GetStrengthThresholdForNonMutualWarsToBeIgnoredToJoinKingdom()

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

◆ GetRelationIncreaseFactor()

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

◆ GetInfluenceAwardForSettlementCapturer()

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

◆ GetHourlyInfluenceAwardForRaidingEnemyVillage()

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

◆ GetHourlyInfluenceAwardForBesiegingEnemyFortification()

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

◆ GetHourlyInfluenceAwardForBeingArmyMember()

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

◆ GetScoreOfClanToJoinKingdom()

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

◆ GetScoreOfClanToLeaveKingdom()

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

◆ GetScoreOfKingdomToGetClan()

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

◆ GetScoreOfKingdomToSackClan()

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

◆ GetScoreOfMercenaryToJoinKingdom()

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

◆ GetScoreOfMercenaryToLeaveKingdom()

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

◆ GetScoreOfKingdomToHireMercenary()

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

◆ GetScoreOfKingdomToSackMercenary()

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

◆ GetScoreOfDeclaringPeace()

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

◆ GetScoreOfDeclaringWar()

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

◆ GetScoreOfLettingPartyGo()

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

◆ GetValueOfHeroForFaction()

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

◆ GetRelationCostOfExpellingClanFromKingdom()

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

◆ GetInfluenceCostOfSupportingClan()

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

◆ GetInfluenceCostOfExpellingClan()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfExpellingClan ( )
pure virtual

◆ GetInfluenceCostOfProposingPeace()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfProposingPeace ( )
pure virtual

◆ GetInfluenceCostOfProposingWar()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfProposingWar ( Kingdom  proposingKingdom)
pure virtual

◆ GetInfluenceValueOfSupportingClan()

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

◆ GetRelationValueOfSupportingClan()

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

◆ GetInfluenceCostOfAnnexation()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfAnnexation ( Kingdom  proposingKingdom)
pure virtual

◆ GetInfluenceCostOfChangingLeaderOfArmy()

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

◆ GetInfluenceCostOfDisbandingArmy()

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

◆ GetRelationCostOfDisbandingArmy()

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

◆ GetInfluenceCostOfPolicyProposalAndDisavowal()

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GetInfluenceCostOfPolicyProposalAndDisavowal ( )
pure virtual

◆ GetInfluenceCostOfAbandoningArmy()

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

◆ GetEffectiveRelation()

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

◆ GetBaseRelation()

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

◆ GetHeroesForEffectiveRelation()

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

◆ GetRelationChangeAfterClanLeaderIsDead()

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

◆ GetRelationChangeAfterVotingInSettlementOwnerPreliminaryDecision()

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

◆ GetClanStrength()

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

◆ GetHeroCommandingStrengthForClan()

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

◆ GetHeroGoverningStrengthForClan()

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

◆ GetNotificationColor()

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

◆ GetValueOfDailyTribute()

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

◆ GetDailyTributeForValue()

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

◆ CanSettlementBeGifted()

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

◆ GetBarterGroups()

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

◆ GetCharmExperienceFromRelationGain()

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

◆ DenarsToInfluence()

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

Property Documentation

◆ MinimumRelationWithConversationCharacterToJoinKingdom

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.MinimumRelationWithConversationCharacterToJoinKingdom
get

◆ GiftingTownRelationshipBonus

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GiftingTownRelationshipBonus
get

◆ GiftingCastleRelationshipBonus

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.DiplomacyModel.GiftingCastleRelationshipBonus
get