M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction Class Reference

Public Types

enum  ChangeKingdomActionDetail {
  JoinAsMercenary ,
  JoinKingdom ,
  JoinKingdomByDefection ,
  LeaveKingdom ,
  LeaveWithRebellion ,
  LeaveAsMercenary ,
  LeaveByClanDestruction ,
  CreateKingdom ,
  LeaveByKingdomDestruction
}
 

Static Public Member Functions

static void ApplyByJoinToKingdom (Clan clan, Kingdom newKingdom, bool showNotification=true)
 
static void ApplyByJoinToKingdomByDefection (Clan clan, Kingdom newKingdom, bool showNotification=true)
 
static void ApplyByCreateKingdom (Clan clan, Kingdom newKingdom, bool showNotification=true)
 
static void ApplyByLeaveByKingdomDestruction (Clan clan, bool showNotification=true)
 
static void ApplyByLeaveKingdom (Clan clan, bool showNotification=true)
 
static void ApplyByLeaveWithRebellionAgainstKingdom (Clan clan, bool showNotification=true)
 
static void ApplyByJoinFactionAsMercenary (Clan clan, Kingdom newKingdom, int awardMultiplier=50, bool showNotification=true)
 
static void ApplyByLeaveKingdomAsMercenary (Clan mercenaryClan, bool showNotification=true)
 
static void ApplyByLeaveKingdomByClanDestruction (Clan clan, bool showNotification=true)
 

Static Public Attributes

const float PotentialSettlementsPerNobleEffect = 0.2f
 
const float NewGainedFiefsValueForKingdomConstant = 0.1f
 
const float LordsUnitStrengthValue = 20.0f
 
const float MercenaryUnitStrengthValue = 5.0f
 
const float MinimumNeededGoldForRecruitingMercenaries = 20000
 

Member Enumeration Documentation

◆ ChangeKingdomActionDetail

Enumerator
JoinAsMercenary 
JoinKingdom 
JoinKingdomByDefection 
LeaveKingdom 
LeaveWithRebellion 
LeaveAsMercenary 
LeaveByClanDestruction 
CreateKingdom 
LeaveByKingdomDestruction 

Member Function Documentation

◆ ApplyByJoinToKingdom()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByJoinToKingdom ( Clan  clan,
Kingdom  newKingdom,
bool  showNotification = true 
)
static

◆ ApplyByJoinToKingdomByDefection()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByJoinToKingdomByDefection ( Clan  clan,
Kingdom  newKingdom,
bool  showNotification = true 
)
static

◆ ApplyByCreateKingdom()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByCreateKingdom ( Clan  clan,
Kingdom  newKingdom,
bool  showNotification = true 
)
static

◆ ApplyByLeaveByKingdomDestruction()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByLeaveByKingdomDestruction ( Clan  clan,
bool  showNotification = true 
)
static

◆ ApplyByLeaveKingdom()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByLeaveKingdom ( Clan  clan,
bool  showNotification = true 
)
static

◆ ApplyByLeaveWithRebellionAgainstKingdom()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByLeaveWithRebellionAgainstKingdom ( Clan  clan,
bool  showNotification = true 
)
static

◆ ApplyByJoinFactionAsMercenary()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByJoinFactionAsMercenary ( Clan  clan,
Kingdom  newKingdom,
int  awardMultiplier = 50,
bool  showNotification = true 
)
static

◆ ApplyByLeaveKingdomAsMercenary()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByLeaveKingdomAsMercenary ( Clan  mercenaryClan,
bool  showNotification = true 
)
static

◆ ApplyByLeaveKingdomByClanDestruction()

static void TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.ApplyByLeaveKingdomByClanDestruction ( Clan  clan,
bool  showNotification = true 
)
static

Member Data Documentation

◆ PotentialSettlementsPerNobleEffect

const float TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.PotentialSettlementsPerNobleEffect = 0.2f
static

◆ NewGainedFiefsValueForKingdomConstant

const float TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.NewGainedFiefsValueForKingdomConstant = 0.1f
static

◆ LordsUnitStrengthValue

const float TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.LordsUnitStrengthValue = 20.0f
static

◆ MercenaryUnitStrengthValue

const float TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.MercenaryUnitStrengthValue = 5.0f
static

◆ MinimumNeededGoldForRecruitingMercenaries

const float TaleWorlds.CampaignSystem.Actions.ChangeKingdomAction.MinimumNeededGoldForRecruitingMercenaries = 20000
static