Class CampaignUIHelper
- Namespace
- TaleWorlds.CampaignSystem.ViewModelCollection
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public static class CampaignUIHelper
- Inheritance
-
CampaignUIHelper
- Inherited Members
Fields
MobilePartyPrecedenceComparerInstance
public static readonly CampaignUIHelper.MobilePartyPrecedenceComparer MobilePartyPrecedenceComparerInstance
Field Value
Methods
ConvertToHexColor(uint)
public static string ConvertToHexColor(uint color)
Parameters
color
uint
Returns
FloatToString(float)
public static string FloatToString(float x)
Parameters
x
float
Returns
GetAbbreviatedValueTextFromValue(int)
public static string GetAbbreviatedValueTextFromValue(int valueAmount)
Parameters
valueAmount
int
Returns
GetAddFocusHintString(bool, bool, int, int, int, IHeroDeveloper, SkillObject)
public static string GetAddFocusHintString(bool playerHasEnoughPoints, bool isMaxedSkill, int currentFocusAmount, int currentAttributeAmount, int currentSkillValue, IHeroDeveloper developer, SkillObject skill)
Parameters
playerHasEnoughPoints
boolisMaxedSkill
boolcurrentFocusAmount
intcurrentAttributeAmount
intcurrentSkillValue
intdeveloper
IHeroDeveloperskill
SkillObject
Returns
GetArmyCohesionTooltip(Army)
public static List<TooltipProperty> GetArmyCohesionTooltip(Army army)
Parameters
army
Army
Returns
GetArmyDisbandDisableReasonString(bool, bool, bool, bool)
public static string GetArmyDisbandDisableReasonString(bool hasEnoughInfluence, bool isArmyInAnyEvent, bool isPlayerClanMercenary, bool isPlayerInThisArmy)
Parameters
Returns
GetArmyFoodTooltip(Army)
public static List<TooltipProperty> GetArmyFoodTooltip(Army army)
Parameters
army
Army
Returns
GetArmyManCountTooltip(Army)
public static List<TooltipProperty> GetArmyManCountTooltip(Army army)
Parameters
army
Army
Returns
GetCharacterCode(CharacterObject, bool)
public static CharacterCode GetCharacterCode(CharacterObject character, bool useCivilian = false)
Parameters
character
CharacterObjectuseCivilian
bool
Returns
GetCharacterTierData(CharacterObject, bool)
public static StringItemWithHintVM GetCharacterTierData(CharacterObject character, bool isBig = false)
Parameters
character
CharacterObjectisBig
bool
Returns
GetCharacterTypeData(CharacterObject, bool)
public static StringItemWithHintVM GetCharacterTypeData(CharacterObject character, bool isBig = false)
Parameters
character
CharacterObjectisBig
bool
Returns
GetClanExpelDisableReasonString(bool, bool, bool, bool)
public static string GetClanExpelDisableReasonString(bool hasEnoughInfluence, bool isTargetMainClan, bool isTargetRulingClan, bool isMainClanMercenary)
Parameters
Returns
GetClanProsperityTooltip(Clan)
public static List<TooltipProperty> GetClanProsperityTooltip(Clan clan)
Parameters
clan
Clan
Returns
GetClanRenownTooltip(Clan)
public static List<TooltipProperty> GetClanRenownTooltip(Clan clan)
Parameters
clan
Clan
Returns
GetClanStrengthTooltip(Clan)
public static List<TooltipProperty> GetClanStrengthTooltip(Clan clan)
Parameters
clan
Clan
Returns
GetClanSupportDisableReasonString(bool, bool, bool)
public static string GetClanSupportDisableReasonString(bool hasEnoughInfluence, bool isTargetMainClan, bool isMainClanMercenary)
Parameters
Returns
GetClanWealthStatusText(Clan)
public static string GetClanWealthStatusText(Clan clan)
Parameters
clan
Clan
Returns
GetCombinedPerkRoleText(PerkObject)
public static TextObject GetCombinedPerkRoleText(PerkObject perk)
Parameters
perk
PerkObject
Returns
GetCommaSeparatedText(TextObject, IEnumerable<TextObject>)
public static TextObject GetCommaSeparatedText(TextObject label, IEnumerable<TextObject> texts)
Parameters
label
TextObjecttexts
IEnumerable<TextObject>
Returns
GetCraftingDisableReasonString(bool)
public static string GetCraftingDisableReasonString(bool playerHasEnoughMaterials)
Parameters
playerHasEnoughMaterials
bool
Returns
GetCraftingHeroTooltip(Hero, CraftingOrder)
public static List<TooltipProperty> GetCraftingHeroTooltip(Hero hero, CraftingOrder order)
Parameters
hero
Heroorder
CraftingOrder
Returns
GetCraftingOrderDisabledReasonTooltip(Hero, CraftingOrder)
public static List<TooltipProperty> GetCraftingOrderDisabledReasonTooltip(Hero heroToCheck, CraftingOrder order)
Parameters
heroToCheck
Heroorder
CraftingOrder
Returns
GetCraftingOrderMissingPropertyWarningText(CraftingOrder, ItemObject)
public static string GetCraftingOrderMissingPropertyWarningText(CraftingOrder order, ItemObject craftedItem)
Parameters
order
CraftingOrdercraftedItem
ItemObject
Returns
GetCraftingTemplatePieceUnlockProgressHint(float)
public static TextObject GetCraftingTemplatePieceUnlockProgressHint(float progress)
Parameters
progress
float
Returns
GetCreateNewPartyReasonString(bool, bool)
public static TextObject GetCreateNewPartyReasonString(bool haveEmptyPartySlots, bool haveAvailableHero)
Parameters
Returns
GetCrimeTooltip(Settlement)
public static List<TooltipProperty> GetCrimeTooltip(Settlement settlement)
Parameters
settlement
Settlement
Returns
GetDaysUntilNoFood(float, float)
public static string GetDaysUntilNoFood(float totalFood, float foodChange)
Parameters
Returns
GetDenarTooltip()
public static TooltipTriggerVM GetDenarTooltip()
Returns
GetEncounterPartyMoraleTooltip(List<MobileParty>)
public static List<TooltipProperty> GetEncounterPartyMoraleTooltip(List<MobileParty> parties)
Parameters
parties
List<MobileParty>
Returns
GetFlagDetailsForWeapon(WeaponComponentData, ItemUsageSetFlags, CharacterObject)
public static List<(string, TextObject)> GetFlagDetailsForWeapon(WeaponComponentData weapon, ItemObject.ItemUsageSetFlags itemUsageFlags, CharacterObject character = null)
Parameters
weapon
WeaponComponentDataitemUsageFlags
ItemObject.ItemUsageSetFlagscharacter
CharacterObject
Returns
- List<(string, TextObject)>
GetFormattedItemPropertyText(float, bool)
public static string GetFormattedItemPropertyText(float propertyValue, bool typeRequiresInteger)
Parameters
Returns
GetGovernorPerksTooltipForHero(Hero)
public static List<TooltipProperty> GetGovernorPerksTooltipForHero(Hero hero)
Parameters
hero
Hero
Returns
GetGovernorSelectionConfirmationPopupTexts(Hero, Hero, Settlement)
public static (TextObject titleText, TextObject bodyText) GetGovernorSelectionConfirmationPopupTexts(Hero currentGovernor, Hero newGovernor, Settlement settlement)
Parameters
currentGovernor
HeronewGovernor
Herosettlement
Settlement
Returns
GetHeroBehaviorText(Hero, ITeleportationCampaignBehavior)
public static string GetHeroBehaviorText(Hero hero, ITeleportationCampaignBehavior teleportationBehavior = null)
Parameters
hero
HeroteleportationBehavior
ITeleportationCampaignBehavior
Returns
GetHeroClanRoleText(Hero, Clan)
public static string GetHeroClanRoleText(Hero hero, Clan clan)
Parameters
Returns
GetHeroCompareSortIndex(Hero, Hero)
public static int GetHeroCompareSortIndex(Hero x, Hero y)
Parameters
Returns
GetHeroGovernorEffectsTooltip(Hero, Settlement)
public static List<TooltipProperty> GetHeroGovernorEffectsTooltip(Hero hero, Settlement settlement)
Parameters
hero
Herosettlement
Settlement
Returns
GetHeroHealthTooltip(Hero)
public static List<TooltipProperty> GetHeroHealthTooltip(Hero hero)
Parameters
hero
Hero
Returns
GetHeroKingdomRank(Hero)
public static string GetHeroKingdomRank(Hero hero)
Parameters
hero
Hero
Returns
GetHeroOccupationName(Hero)
public static string GetHeroOccupationName(Hero hero)
Parameters
hero
Hero
Returns
GetHeroRank(Hero)
public static string GetHeroRank(Hero hero)
Parameters
hero
Hero
Returns
GetHeroRelationToHeroText(Hero, Hero, bool)
public static TextObject GetHeroRelationToHeroText(Hero queriedHero, Hero baseHero, bool uppercaseFirst)
Parameters
Returns
GetHeroTraits()
public static IEnumerable<TraitObject> GetHeroTraits()
Returns
GetHintTextFromReasons(List<TextObject>)
public static string GetHintTextFromReasons(List<TextObject> reasons)
Parameters
reasons
List<TextObject>
Returns
GetHoursAndDaysTextFromHourValue(int)
public static TextObject GetHoursAndDaysTextFromHourValue(int hours)
Parameters
hours
int
Returns
GetInfluenceTooltip(Clan)
public static List<TooltipProperty> GetInfluenceTooltip(Clan clan)
Parameters
clan
Clan
Returns
GetInventoryCharacterTooltip(Hero)
public static List<TooltipProperty> GetInventoryCharacterTooltip(Hero hero)
Parameters
hero
Hero
Returns
GetIssueType(IssueBase)
public static CampaignUIHelper.IssueQuestFlags GetIssueType(IssueBase issue)
Parameters
issue
IssueBase
Returns
GetItemFlagDetails(ItemFlags)
public static List<Tuple<string, TextObject>> GetItemFlagDetails(ItemFlags itemFlags)
Parameters
itemFlags
ItemFlags
Returns
GetItemLockStringID(EquipmentElement)
public static string GetItemLockStringID(EquipmentElement equipmentElement)
Parameters
equipmentElement
EquipmentElement
Returns
GetItemObjectTypeSortIndex(ItemObject)
public static int GetItemObjectTypeSortIndex(ItemObject item)
Parameters
item
ItemObject
Returns
GetItemUsageSetFlagDetails(ItemUsageSetFlags, CharacterObject)
public static List<(string, TextObject)> GetItemUsageSetFlagDetails(ItemObject.ItemUsageSetFlags flags, CharacterObject character = null)
Parameters
flags
ItemObject.ItemUsageSetFlagscharacter
CharacterObject
Returns
- List<(string, TextObject)>
GetLearningLimitTooltip(int, int, TextObject)
public static List<TooltipProperty> GetLearningLimitTooltip(int attributeValue, int focusValue, TextObject attributeName)
Parameters
attributeValue
intfocusValue
intattributeName
TextObject
Returns
GetLearningRateTooltip(int, int, int, int, TextObject)
public static List<TooltipProperty> GetLearningRateTooltip(int attributeValue, int focusValue, int skillValue, int characterLevel, TextObject attributeName)
Parameters
attributeValue
intfocusValue
intskillValue
intcharacterLevel
intattributeName
TextObject
Returns
GetMainPartyHealthTooltip()
public static List<TooltipProperty> GetMainPartyHealthTooltip()
Returns
GetMapScreenActionIsEnabledWithReason(out TextObject)
public static bool GetMapScreenActionIsEnabledWithReason(out TextObject disabledReason)
Parameters
disabledReason
TextObject
Returns
GetMobilePartyBehaviorText(MobileParty)
public static string GetMobilePartyBehaviorText(MobileParty party)
Parameters
party
MobileParty
Returns
GetOrderCannotBeCompletedReasonTooltip(CraftingOrder, ItemObject)
public static List<TooltipProperty> GetOrderCannotBeCompletedReasonTooltip(CraftingOrder order, ItemObject item)
Parameters
order
CraftingOrderitem
ItemObject
Returns
GetOrdersDisabledReasonTooltip(MBBindingList<CraftingOrderItemVM>, Hero)
public static List<TooltipProperty> GetOrdersDisabledReasonTooltip(MBBindingList<CraftingOrderItemVM> craftingOrders, Hero heroToCheck)
Parameters
craftingOrders
MBBindingList<CraftingOrderItemVM>heroToCheck
Hero
Returns
GetPartyDistanceByTimeText(float, float)
public static string GetPartyDistanceByTimeText(float distance, float speed)
Parameters
Returns
GetPartyFoodTooltip(MobileParty)
public static List<TooltipProperty> GetPartyFoodTooltip(MobileParty mainParty)
Parameters
mainParty
MobileParty
Returns
GetPartyHealthTooltip(PartyBase)
public static List<TooltipProperty> GetPartyHealthTooltip(PartyBase party)
Parameters
party
PartyBase
Returns
GetPartyInventoryCapacityTooltip(MobileParty)
public static List<TooltipProperty> GetPartyInventoryCapacityTooltip(MobileParty party)
Parameters
party
MobileParty
Returns
GetPartyMoraleTooltip(MobileParty)
public static List<TooltipProperty> GetPartyMoraleTooltip(MobileParty mainParty)
Parameters
mainParty
MobileParty
Returns
GetPartyNameplateText(MobileParty, bool)
public static string GetPartyNameplateText(MobileParty party, bool includeAttachedParties)
Parameters
party
MobilePartyincludeAttachedParties
bool
Returns
GetPartyNameplateText(PartyBase)
public static string GetPartyNameplateText(PartyBase party)
Parameters
party
PartyBase
Returns
GetPartyPrisonerSizeLimitTooltip(PartyBase)
public static List<TooltipProperty> GetPartyPrisonerSizeLimitTooltip(PartyBase party)
Parameters
party
PartyBase
Returns
GetPartySpeedTooltip()
public static List<TooltipProperty> GetPartySpeedTooltip()
Returns
GetPartyTroopSizeLimitTooltip(PartyBase)
public static List<TooltipProperty> GetPartyTroopSizeLimitTooltip(PartyBase party)
Parameters
party
PartyBase
Returns
GetPartyWageTooltip()
public static List<TooltipProperty> GetPartyWageTooltip()
Returns
GetPartyWageTooltip(MobileParty)
public static List<TooltipProperty> GetPartyWageTooltip(MobileParty mobileParty)
Parameters
mobileParty
MobileParty
Returns
GetPerkEffectText(PerkObject, bool)
public static List<TooltipProperty> GetPerkEffectText(PerkObject perk, bool isActive)
Parameters
perk
PerkObjectisActive
bool
Returns
GetPerkRoleText(PerkObject, bool)
public static TextObject GetPerkRoleText(PerkObject perk, bool getSecondary)
Parameters
perk
PerkObjectgetSecondary
bool
Returns
GetPlayerHitpointsTooltip()
public static List<TooltipProperty> GetPlayerHitpointsTooltip()
Returns
GetQuestExplanationOfHero(IssueQuestFlags)
public static string GetQuestExplanationOfHero(CampaignUIHelper.IssueQuestFlags questType)
Parameters
questType
CampaignUIHelper.IssueQuestFlags
Returns
GetQuestStateOfHero(Hero)
public static List<(CampaignUIHelper.IssueQuestFlags, TextObject, TextObject)> GetQuestStateOfHero(Hero queriedHero)
Parameters
queriedHero
Hero
Returns
GetQuestType(QuestBase, Hero)
public static CampaignUIHelper.IssueQuestFlags GetQuestType(QuestBase quest, Hero queriedQuestGiver)
Parameters
Returns
GetQuestsRelatedToHero(Hero)
public static List<QuestBase> GetQuestsRelatedToHero(Hero hero)
Parameters
hero
Hero
Returns
GetQuestsRelatedToParty(MobileParty)
public static List<QuestBase> GetQuestsRelatedToParty(MobileParty party)
Parameters
party
MobileParty
Returns
GetQuestsRelatedToSettlement(Settlement)
public static List<QuestBase> GetQuestsRelatedToSettlement(Settlement settlement)
Parameters
settlement
Settlement
Returns
GetSettlementConsumptionTooltip(Settlement)
public static List<TooltipProperty> GetSettlementConsumptionTooltip(Settlement settlement)
Parameters
settlement
Settlement
Returns
GetSettlementProductionTooltip(Settlement)
public static List<TooltipProperty> GetSettlementProductionTooltip(Settlement settlement)
Parameters
settlement
Settlement
Returns
GetSettlementPropertyTooltip(Settlement, string, float, ExplainedNumber)
public static List<TooltipProperty> GetSettlementPropertyTooltip(Settlement settlement, string valueName, float value, ExplainedNumber explainedNumber)
Parameters
settlement
SettlementvalueName
stringvalue
floatexplainedNumber
ExplainedNumber
Returns
GetSettlementPropertyTooltipWithResult(Settlement, string, float, ref ExplainedNumber)
public static List<TooltipProperty> GetSettlementPropertyTooltipWithResult(Settlement settlement, string valueName, float value, ref ExplainedNumber explainedNumber)
Parameters
settlement
SettlementvalueName
stringvalue
floatexplainedNumber
ExplainedNumber
Returns
GetSiegeMachineName(SiegeEngineType)
public static string GetSiegeMachineName(SiegeEngineType engineType)
Parameters
engineType
SiegeEngineType
Returns
GetSiegeMachineNameWithDesctiption(SiegeEngineType)
public static string GetSiegeMachineNameWithDesctiption(SiegeEngineType engineType)
Parameters
engineType
SiegeEngineType
Returns
GetSiegeMachineTooltip(SiegeEngineType, bool, int)
public static List<TooltipProperty> GetSiegeMachineTooltip(SiegeEngineType engineType, bool showDescription = true, int hoursUntilCompletion = 0)
Parameters
engineType
SiegeEngineTypeshowDescription
boolhoursUntilCompletion
int
Returns
GetSiegeWallTooltip(int, int)
public static List<TooltipProperty> GetSiegeWallTooltip(int wallLevel, int wallHitpoints)
Parameters
Returns
GetSkillEffectText(SkillEffect, int)
public static string GetSkillEffectText(SkillEffect effect, int skillLevel)
Parameters
effect
SkillEffectskillLevel
int
Returns
GetTeleportationDelayText(Hero, PartyBase)
public static TextObject GetTeleportationDelayText(Hero hero, PartyBase target)
Parameters
Returns
GetTeleportingGovernor(Settlement, ITeleportationCampaignBehavior)
public static Hero GetTeleportingGovernor(Settlement settlement, ITeleportationCampaignBehavior teleportationBehavior)
Parameters
settlement
SettlementteleportationBehavior
ITeleportationCampaignBehavior
Returns
GetTeleportingLeaderHero(MobileParty, ITeleportationCampaignBehavior)
public static Hero GetTeleportingLeaderHero(MobileParty party, ITeleportationCampaignBehavior teleportationBehavior)
Parameters
party
MobilePartyteleportationBehavior
ITeleportationCampaignBehavior
Returns
GetTextForRole(PerkRole)
public static string GetTextForRole(SkillEffect.PerkRole role)
Parameters
role
SkillEffect.PerkRole
Returns
GetTimeOfDayAndResetCameraTooltip()
public static List<TooltipProperty> GetTimeOfDayAndResetCameraTooltip()
Returns
GetTooltipForAccumulatingProperty(string, float, ExplainedNumber)
public static List<TooltipProperty> GetTooltipForAccumulatingProperty(string propertyName, float currentValue, ExplainedNumber explainedNumber)
Parameters
propertyName
stringcurrentValue
floatexplainedNumber
ExplainedNumber
Returns
GetTooltipForAccumulatingPropertyWithResult(string, float, ref ExplainedNumber)
public static List<TooltipProperty> GetTooltipForAccumulatingPropertyWithResult(string propertyName, float currentValue, ref ExplainedNumber explainedNumber)
Parameters
propertyName
stringcurrentValue
floatexplainedNumber
ExplainedNumber
Returns
GetTooltipForgProperty(string, float, ExplainedNumber)
public static List<TooltipProperty> GetTooltipForgProperty(string propertyName, float currentValue, ExplainedNumber explainedNumber)
Parameters
propertyName
stringcurrentValue
floatexplainedNumber
ExplainedNumber
Returns
GetTournamentChampionRewardsTooltip(Hero, Town)
public static List<TooltipProperty> GetTournamentChampionRewardsTooltip(Hero hero, Town town)
Parameters
Returns
GetTownDailyProductionTooltip(Town)
public static List<TooltipProperty> GetTownDailyProductionTooltip(Town town)
Parameters
town
Town
Returns
GetTownFoodTooltip(Town)
public static List<TooltipProperty> GetTownFoodTooltip(Town town)
Parameters
town
Town
Returns
GetTownGarrisonTooltip(Town)
public static List<TooltipProperty> GetTownGarrisonTooltip(Town town)
Parameters
town
Town
Returns
GetTownLoyaltyTooltip(Town)
public static List<TooltipProperty> GetTownLoyaltyTooltip(Town town)
Parameters
town
Town
Returns
GetTownMilitiaTooltip(Town)
public static List<TooltipProperty> GetTownMilitiaTooltip(Town town)
Parameters
town
Town
Returns
GetTownProsperityTooltip(Town)
public static List<TooltipProperty> GetTownProsperityTooltip(Town town)
Parameters
town
Town
Returns
GetTownSecurityTooltip(Town)
public static List<TooltipProperty> GetTownSecurityTooltip(Town town)
Parameters
town
Town
Returns
GetTownWallsTooltip(Town)
public static string GetTownWallsTooltip(Town town)
Parameters
town
Town
Returns
GetTraitNameText(TraitObject, Hero)
public static string GetTraitNameText(TraitObject traitObject, Hero hero)
Parameters
traitObject
TraitObjecthero
Hero
Returns
GetTraitTooltipText(TraitObject, int)
public static string GetTraitTooltipText(TraitObject traitObject, int traitValue)
Parameters
traitObject
TraitObjecttraitValue
int
Returns
GetTroopConformityTooltip(TroopRosterElement)
public static List<TooltipProperty> GetTroopConformityTooltip(TroopRosterElement troop)
Parameters
troop
TroopRosterElement
Returns
GetTroopLockStringID(TroopRosterElement)
public static string GetTroopLockStringID(TroopRosterElement rosterElement)
Parameters
rosterElement
TroopRosterElement
Returns
GetTroopXPTooltip(TroopRosterElement)
public static List<TooltipProperty> GetTroopXPTooltip(TroopRosterElement troop)
Parameters
troop
TroopRosterElement
Returns
GetTruceOwnedSettlementsTooltip(List<Settlement>, TextObject, bool)
public static List<TooltipProperty> GetTruceOwnedSettlementsTooltip(List<Settlement> settlements, TextObject factionName, bool isTown)
Parameters
settlements
List<Settlement>factionName
TextObjectisTown
bool
Returns
GetUpgradeHint(int, int, int, int, bool, PerkObject, CharacterObject, TroopRosterElement, int, string, string)
public static string GetUpgradeHint(int index, int numOfItems, int availableUpgrades, int upgradeCoinCost, bool hasRequiredPerk, PerkObject requiredPerk, CharacterObject character, TroopRosterElement troop, int partyGoldChangeAmount, string entireStackShortcutKeyText, string fiveStackShortcutKeyText)
Parameters
index
intnumOfItems
intavailableUpgrades
intupgradeCoinCost
inthasRequiredPerk
boolrequiredPerk
PerkObjectcharacter
CharacterObjecttroop
TroopRosterElementpartyGoldChangeAmount
intentireStackShortcutKeyText
stringfiveStackShortcutKeyText
string
Returns
GetUsedHorsesTooltip(List<Tuple<EquipmentElement, int>>)
public static List<TooltipProperty> GetUsedHorsesTooltip(List<Tuple<EquipmentElement, int>> usedUpgradeHorsesHistory)
Parameters
usedUpgradeHorsesHistory
List<Tuple<EquipmentElement, int>>
Returns
GetValueChangeText(float, float, string)
public static string GetValueChangeText(float originalValue, float valueChange, string valueFormat = "F0")
Parameters
Returns
GetViewDistanceTooltip()
public static List<TooltipProperty> GetViewDistanceTooltip()
Returns
GetVillageMilitiaTooltip(Village)
public static List<TooltipProperty> GetVillageMilitiaTooltip(Village village)
Parameters
village
Village
Returns
GetVillageProsperityTooltip(Village)
public static List<TooltipProperty> GetVillageProsperityTooltip(Village village)
Parameters
village
Village
Returns
GetVisualPartyLeader(PartyBase)
public static CharacterObject GetVisualPartyLeader(PartyBase party)
Parameters
party
PartyBase
Returns
GetWarPrisonersTooltip(List<Hero>, TextObject)
public static List<TooltipProperty> GetWarPrisonersTooltip(List<Hero> capturedPrisoners, TextObject factionName)
Parameters
capturedPrisoners
List<Hero>factionName
TextObject
Returns
GetWarSuccessfulRaidsTooltip(List<Settlement>, TextObject)
public static List<TooltipProperty> GetWarSuccessfulRaidsTooltip(List<Settlement> settlements, TextObject factionName)
Parameters
settlements
List<Settlement>factionName
TextObject
Returns
GetWarSuccessfulSiegesTooltip(List<Settlement>, TextObject, bool)
public static List<TooltipProperty> GetWarSuccessfulSiegesTooltip(List<Settlement> settlements, TextObject factionName, bool isTown)
Parameters
settlements
List<Settlement>factionName
TextObjectisTown
bool
Returns
GetWeaponFlagDetails(WeaponFlags, CharacterObject)
public static List<(string, TextObject)> GetWeaponFlagDetails(WeaponFlags weaponFlags, CharacterObject character = null)
Parameters
weaponFlags
WeaponFlagscharacter
CharacterObject
Returns
- List<(string, TextObject)>
IsHeroInformationHidden(Hero, out TextObject)
public static bool IsHeroInformationHidden(Hero hero, out TextObject disableReason)
Parameters
hero
HerodisableReason
TextObject
Returns
IsItemUsageApplicable(WeaponComponentData)
public static bool IsItemUsageApplicable(WeaponComponentData weapon)
Parameters
weapon
WeaponComponentData
Returns
IsSettlementInformationHidden(Settlement, out TextObject)
public static bool IsSettlementInformationHidden(Settlement settlement, out TextObject disableReason)
Parameters
settlement
SettlementdisableReason
TextObject
Returns
IsStringApplicableForHeroName(string)
public static Tuple<bool, string> IsStringApplicableForHeroName(string name)
Parameters
name
string
Returns
IsStringApplicableForItemName(string)
public static Tuple<bool, TextObject> IsStringApplicableForItemName(string name)
Parameters
name
string
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).