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

Public Member Functions

 FactionManager ()
 

Static Public Member Functions

static void DeclareAlliance (IFaction faction1, IFaction faction2)
 
static void DeclareWar (IFaction faction1, IFaction faction2, bool isAtConstantWar=false)
 
static void SetNeutral (IFaction faction1, IFaction faction2)
 
static bool IsAtWarAgainstFaction (IFaction faction1, IFaction faction2)
 
static bool IsAlliedWithFaction (IFaction faction1, IFaction faction2)
 
static bool IsNeutralWithFaction (IFaction faction1, IFaction faction2)
 
static IEnumerable< IFactionGetEnemyFactions (IFaction faction)
 
static IEnumerable< KingdomGetEnemyKingdoms (Kingdom faction)
 
static int GetRelationBetweenClans (Clan clan1, Clan clan2)
 

Properties

static FactionManager Instance [get]
 

Constructor & Destructor Documentation

◆ FactionManager()

TaleWorlds.CampaignSystem.FactionManager.FactionManager ( )

Member Function Documentation

◆ DeclareAlliance()

static void TaleWorlds.CampaignSystem.FactionManager.DeclareAlliance ( IFaction faction1,
IFaction faction2 )
static

◆ DeclareWar()

static void TaleWorlds.CampaignSystem.FactionManager.DeclareWar ( IFaction faction1,
IFaction faction2,
bool isAtConstantWar = false )
static

◆ SetNeutral()

static void TaleWorlds.CampaignSystem.FactionManager.SetNeutral ( IFaction faction1,
IFaction faction2 )
static

◆ IsAtWarAgainstFaction()

static bool TaleWorlds.CampaignSystem.FactionManager.IsAtWarAgainstFaction ( IFaction faction1,
IFaction faction2 )
static

◆ IsAlliedWithFaction()

static bool TaleWorlds.CampaignSystem.FactionManager.IsAlliedWithFaction ( IFaction faction1,
IFaction faction2 )
static

◆ IsNeutralWithFaction()

static bool TaleWorlds.CampaignSystem.FactionManager.IsNeutralWithFaction ( IFaction faction1,
IFaction faction2 )
static

◆ GetEnemyFactions()

static IEnumerable< IFaction > TaleWorlds.CampaignSystem.FactionManager.GetEnemyFactions ( IFaction faction)
static

◆ GetEnemyKingdoms()

static IEnumerable< Kingdom > TaleWorlds.CampaignSystem.FactionManager.GetEnemyKingdoms ( Kingdom faction)
static

◆ GetRelationBetweenClans()

static int TaleWorlds.CampaignSystem.FactionManager.GetRelationBetweenClans ( Clan clan1,
Clan clan2 )
static

Property Documentation

◆ Instance

FactionManager TaleWorlds.CampaignSystem.FactionManager.Instance
staticget