Class PartyBaseHelper
- Namespace
- Helpers
- Assembly
- TaleWorlds.CampaignSystem.dll
public static class PartyBaseHelper
- Inheritance
-
PartyBaseHelper
- Inherited Members
Methods
DoesSurrenderIsLogicalForParty(MobileParty, MobileParty, float)
public static bool DoesSurrenderIsLogicalForParty(MobileParty ourParty, MobileParty enemyParty, float acceptablePowerRatio = 0.1)
Parameters
ourPartyMobilePartyenemyPartyMobilePartyacceptablePowerRatiofloat
Returns
FindPartySizeNormalLimit(MobileParty)
public static float FindPartySizeNormalLimit(MobileParty mobileParty)
Parameters
mobilePartyMobileParty
Returns
GetCaptainOfTroop(PartyBase, CharacterObject)
public static Hero GetCaptainOfTroop(PartyBase affectorParty, CharacterObject affectorCharacter)
Parameters
affectorPartyPartyBaseaffectorCharacterCharacterObject
Returns
GetPartySizeText(int, int, bool)
public static TextObject GetPartySizeText(int healtyNumber, int woundedNumber, bool isInspected)
Parameters
Returns
GetPartySizeText(PartyBase)
public static TextObject GetPartySizeText(PartyBase party)
Parameters
partyPartyBase
Returns
GetSpeedLimitation(ItemRoster, out ItemObject)
public static int GetSpeedLimitation(ItemRoster partyItemRoster, out ItemObject speedLimitationItem)
Parameters
partyItemRosterItemRosterspeedLimitationItemItemObject
Returns
GetVisualPartyLeader(PartyBase)
public static CharacterObject GetVisualPartyLeader(PartyBase party)
Parameters
partyPartyBase
Returns
HasFeat(PartyBase, FeatObject)
public static bool HasFeat(PartyBase party, FeatObject feat)
Parameters
partyPartyBasefeatFeatObject
Returns
PrintRegularTroopCategories(TroopRoster)
public static TextObject PrintRegularTroopCategories(TroopRoster roster)
Parameters
rosterTroopRoster
Returns
PrintRosterContents(TroopRoster)
public static string PrintRosterContents(TroopRoster roster)
Parameters
rosterTroopRoster
Returns
PrintSummarisedItemRoster(ItemRoster)
public static TextObject PrintSummarisedItemRoster(ItemRoster items)
Parameters
itemsItemRoster
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).