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

Static Public Member Functions

static TextObject GetPartySizeText (PartyBase party)
 
static TextObject GetPartySizeText (int healtyNumber, int woundedNumber, bool isInspected)
 
static float FindPartySizeNormalLimit (MobileParty mobileParty)
 
static Hero GetCaptainOfTroop (PartyBase affectorParty, CharacterObject affectorCharacter)
 
static string PrintRosterContents (TroopRoster roster)
 
static TextObject PrintSummarisedItemRoster (ItemRoster items)
 
static TextObject PrintRegularTroopCategories (TroopRoster roster)
 
static CharacterObject GetVisualPartyLeader (PartyBase party)
 
static int GetSpeedLimitation (ItemRoster partyItemRoster, out ItemObject speedLimitationItem)
 
static bool DoesSurrenderIsLogicalForParty (MobileParty ourParty, MobileParty enemyParty, float acceptablePowerRatio=0.10f)
 
static bool HasFeat (PartyBase party, FeatObject feat)
 

Member Function Documentation

◆ GetPartySizeText() [1/2]

static TextObject Helpers.PartyBaseHelper.GetPartySizeText ( PartyBase  party)
static

◆ GetPartySizeText() [2/2]

static TextObject Helpers.PartyBaseHelper.GetPartySizeText ( int  healtyNumber,
int  woundedNumber,
bool  isInspected 
)
static

◆ FindPartySizeNormalLimit()

static float Helpers.PartyBaseHelper.FindPartySizeNormalLimit ( MobileParty  mobileParty)
static

◆ GetCaptainOfTroop()

static Hero Helpers.PartyBaseHelper.GetCaptainOfTroop ( PartyBase  affectorParty,
CharacterObject  affectorCharacter 
)
static

◆ PrintRosterContents()

static string Helpers.PartyBaseHelper.PrintRosterContents ( TroopRoster  roster)
static

◆ PrintSummarisedItemRoster()

static TextObject Helpers.PartyBaseHelper.PrintSummarisedItemRoster ( ItemRoster  items)
static

◆ PrintRegularTroopCategories()

static TextObject Helpers.PartyBaseHelper.PrintRegularTroopCategories ( TroopRoster  roster)
static

◆ GetVisualPartyLeader()

static CharacterObject Helpers.PartyBaseHelper.GetVisualPartyLeader ( PartyBase  party)
static

◆ GetSpeedLimitation()

static int Helpers.PartyBaseHelper.GetSpeedLimitation ( ItemRoster  partyItemRoster,
out ItemObject  speedLimitationItem 
)
static

◆ DoesSurrenderIsLogicalForParty()

static bool Helpers.PartyBaseHelper.DoesSurrenderIsLogicalForParty ( MobileParty  ourParty,
MobileParty  enemyParty,
float  acceptablePowerRatio = 0::10f 
)
static

◆ HasFeat()

static bool Helpers.PartyBaseHelper.HasFeat ( PartyBase  party,
FeatObject  feat 
)
static