M&B: Bannerlord 1.2.10
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
Helpers.DiplomacyHelper Class Reference

Static Public Member Functions

static bool IsWarCausedByPlayer (IFaction faction1, IFaction faction2, DeclareWarAction.DeclareWarDetail declareWarDetail)
 
static List<(LogEntry, IFaction, IFaction)> GetLogsForWar (StanceLink stance)
 
static List< SettlementGetSuccessfullSiegesInWarForFaction (IFaction capturerFaction, StanceLink stance, Func< Settlement, bool > condition=null)
 
static List< SettlementGetRaidsInWar (IFaction faction, StanceLink stance, Func< Settlement, bool > condition=null)
 
static List< HeroGetPrisonersOfWarTakenByFaction (IFaction capturerFaction, IFaction prisonerFaction)
 
static bool DidMainHeroSwornNotToAttackFaction (IFaction faction, out TextObject explanation)
 

Member Function Documentation

◆ IsWarCausedByPlayer()

static bool Helpers.DiplomacyHelper.IsWarCausedByPlayer ( IFaction faction1,
IFaction faction2,
DeclareWarAction.DeclareWarDetail declareWarDetail )
static

◆ GetLogsForWar()

static List<(LogEntry, IFaction, IFaction)> Helpers.DiplomacyHelper.GetLogsForWar ( StanceLink stance)
static

◆ GetSuccessfullSiegesInWarForFaction()

static List< Settlement > Helpers.DiplomacyHelper.GetSuccessfullSiegesInWarForFaction ( IFaction capturerFaction,
StanceLink stance,
Func< Settlement, bool > condition = null )
static

◆ GetRaidsInWar()

static List< Settlement > Helpers.DiplomacyHelper.GetRaidsInWar ( IFaction faction,
StanceLink stance,
Func< Settlement, bool > condition = null )
static

◆ GetPrisonersOfWarTakenByFaction()

static List< Hero > Helpers.DiplomacyHelper.GetPrisonersOfWarTakenByFaction ( IFaction capturerFaction,
IFaction prisonerFaction )
static

◆ DidMainHeroSwornNotToAttackFaction()

static bool Helpers.DiplomacyHelper.DidMainHeroSwornNotToAttackFaction ( IFaction faction,
out TextObject explanation )
static