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
coloruint
Returns
FloatToString(float)
public static string FloatToString(float x)
Parameters
xfloat
Returns
GetAbbreviatedValueTextFromValue(int)
public static string GetAbbreviatedValueTextFromValue(int valueAmount)
Parameters
valueAmountint
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
playerHasEnoughPointsboolisMaxedSkillboolcurrentFocusAmountintcurrentAttributeAmountintcurrentSkillValueintdeveloperIHeroDeveloperskillSkillObject
Returns
GetArmyCohesionTooltip(Army)
public static List<TooltipProperty> GetArmyCohesionTooltip(Army army)
Parameters
armyArmy
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
armyArmy
Returns
GetArmyManCountTooltip(Army)
public static List<TooltipProperty> GetArmyManCountTooltip(Army army)
Parameters
armyArmy
Returns
GetCharacterCode(CharacterObject, bool)
public static CharacterCode GetCharacterCode(CharacterObject character, bool useCivilian = false)
Parameters
characterCharacterObjectuseCivilianbool
Returns
GetCharacterTierData(CharacterObject, bool)
public static StringItemWithHintVM GetCharacterTierData(CharacterObject character, bool isBig = false)
Parameters
characterCharacterObjectisBigbool
Returns
GetCharacterTypeData(CharacterObject, bool)
public static StringItemWithHintVM GetCharacterTypeData(CharacterObject character, bool isBig = false)
Parameters
characterCharacterObjectisBigbool
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
clanClan
Returns
GetClanRenownTooltip(Clan)
public static List<TooltipProperty> GetClanRenownTooltip(Clan clan)
Parameters
clanClan
Returns
GetClanStrengthTooltip(Clan)
public static List<TooltipProperty> GetClanStrengthTooltip(Clan clan)
Parameters
clanClan
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
clanClan
Returns
GetCombinedPerkRoleText(PerkObject)
public static TextObject GetCombinedPerkRoleText(PerkObject perk)
Parameters
perkPerkObject
Returns
GetCommaSeparatedText(TextObject, IEnumerable<TextObject>)
public static TextObject GetCommaSeparatedText(TextObject label, IEnumerable<TextObject> texts)
Parameters
labelTextObjecttextsIEnumerable<TextObject>
Returns
GetCraftingDisableReasonString(bool)
public static string GetCraftingDisableReasonString(bool playerHasEnoughMaterials)
Parameters
playerHasEnoughMaterialsbool
Returns
GetCraftingHeroTooltip(Hero, CraftingOrder)
public static List<TooltipProperty> GetCraftingHeroTooltip(Hero hero, CraftingOrder order)
Parameters
heroHeroorderCraftingOrder
Returns
GetCraftingOrderDisabledReasonTooltip(Hero, CraftingOrder)
public static List<TooltipProperty> GetCraftingOrderDisabledReasonTooltip(Hero heroToCheck, CraftingOrder order)
Parameters
heroToCheckHeroorderCraftingOrder
Returns
GetCraftingOrderMissingPropertyWarningText(CraftingOrder, ItemObject)
public static string GetCraftingOrderMissingPropertyWarningText(CraftingOrder order, ItemObject craftedItem)
Parameters
orderCraftingOrdercraftedItemItemObject
Returns
GetCraftingTemplatePieceUnlockProgressHint(float)
public static TextObject GetCraftingTemplatePieceUnlockProgressHint(float progress)
Parameters
progressfloat
Returns
GetCreateNewPartyReasonString(bool, bool)
public static TextObject GetCreateNewPartyReasonString(bool haveEmptyPartySlots, bool haveAvailableHero)
Parameters
Returns
GetCrimeTooltip(Settlement)
public static List<TooltipProperty> GetCrimeTooltip(Settlement settlement)
Parameters
settlementSettlement
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
partiesList<MobileParty>
Returns
GetFlagDetailsForWeapon(WeaponComponentData, ItemUsageSetFlags, CharacterObject)
public static List<(string, TextObject)> GetFlagDetailsForWeapon(WeaponComponentData weapon, ItemObject.ItemUsageSetFlags itemUsageFlags, CharacterObject character = null)
Parameters
weaponWeaponComponentDataitemUsageFlagsItemObject.ItemUsageSetFlagscharacterCharacterObject
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
heroHero
Returns
GetGovernorSelectionConfirmationPopupTexts(Hero, Hero, Settlement)
public static (TextObject titleText, TextObject bodyText) GetGovernorSelectionConfirmationPopupTexts(Hero currentGovernor, Hero newGovernor, Settlement settlement)
Parameters
currentGovernorHeronewGovernorHerosettlementSettlement
Returns
GetHeroBehaviorText(Hero, ITeleportationCampaignBehavior)
public static string GetHeroBehaviorText(Hero hero, ITeleportationCampaignBehavior teleportationBehavior = null)
Parameters
heroHeroteleportationBehaviorITeleportationCampaignBehavior
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
heroHerosettlementSettlement
Returns
GetHeroHealthTooltip(Hero)
public static List<TooltipProperty> GetHeroHealthTooltip(Hero hero)
Parameters
heroHero
Returns
GetHeroKingdomRank(Hero)
public static string GetHeroKingdomRank(Hero hero)
Parameters
heroHero
Returns
GetHeroOccupationName(Hero)
public static string GetHeroOccupationName(Hero hero)
Parameters
heroHero
Returns
GetHeroRank(Hero)
public static string GetHeroRank(Hero hero)
Parameters
heroHero
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
reasonsList<TextObject>
Returns
GetHoursAndDaysTextFromHourValue(int)
public static TextObject GetHoursAndDaysTextFromHourValue(int hours)
Parameters
hoursint
Returns
GetInfluenceTooltip(Clan)
public static List<TooltipProperty> GetInfluenceTooltip(Clan clan)
Parameters
clanClan
Returns
GetInventoryCharacterTooltip(Hero)
public static List<TooltipProperty> GetInventoryCharacterTooltip(Hero hero)
Parameters
heroHero
Returns
GetIssueType(IssueBase)
public static CampaignUIHelper.IssueQuestFlags GetIssueType(IssueBase issue)
Parameters
issueIssueBase
Returns
GetItemFlagDetails(ItemFlags)
public static List<Tuple<string, TextObject>> GetItemFlagDetails(ItemFlags itemFlags)
Parameters
itemFlagsItemFlags
Returns
GetItemLockStringID(EquipmentElement)
public static string GetItemLockStringID(EquipmentElement equipmentElement)
Parameters
equipmentElementEquipmentElement
Returns
GetItemObjectTypeSortIndex(ItemObject)
public static int GetItemObjectTypeSortIndex(ItemObject item)
Parameters
itemItemObject
Returns
GetItemUsageSetFlagDetails(ItemUsageSetFlags, CharacterObject)
public static List<(string, TextObject)> GetItemUsageSetFlagDetails(ItemObject.ItemUsageSetFlags flags, CharacterObject character = null)
Parameters
flagsItemObject.ItemUsageSetFlagscharacterCharacterObject
Returns
- List<(string, TextObject)>
GetLearningLimitTooltip(int, int, TextObject)
public static List<TooltipProperty> GetLearningLimitTooltip(int attributeValue, int focusValue, TextObject attributeName)
Parameters
attributeValueintfocusValueintattributeNameTextObject
Returns
GetLearningRateTooltip(int, int, int, int, TextObject)
public static List<TooltipProperty> GetLearningRateTooltip(int attributeValue, int focusValue, int skillValue, int characterLevel, TextObject attributeName)
Parameters
attributeValueintfocusValueintskillValueintcharacterLevelintattributeNameTextObject
Returns
GetMainPartyHealthTooltip()
public static List<TooltipProperty> GetMainPartyHealthTooltip()
Returns
GetMapScreenActionIsEnabledWithReason(out TextObject)
public static bool GetMapScreenActionIsEnabledWithReason(out TextObject disabledReason)
Parameters
disabledReasonTextObject
Returns
GetMobilePartyBehaviorText(MobileParty)
public static string GetMobilePartyBehaviorText(MobileParty party)
Parameters
partyMobileParty
Returns
GetOrderCannotBeCompletedReasonTooltip(CraftingOrder, ItemObject)
public static List<TooltipProperty> GetOrderCannotBeCompletedReasonTooltip(CraftingOrder order, ItemObject item)
Parameters
orderCraftingOrderitemItemObject
Returns
GetOrdersDisabledReasonTooltip(MBBindingList<CraftingOrderItemVM>, Hero)
public static List<TooltipProperty> GetOrdersDisabledReasonTooltip(MBBindingList<CraftingOrderItemVM> craftingOrders, Hero heroToCheck)
Parameters
craftingOrdersMBBindingList<CraftingOrderItemVM>heroToCheckHero
Returns
GetPartyDistanceByTimeText(float, float)
public static string GetPartyDistanceByTimeText(float distance, float speed)
Parameters
Returns
GetPartyFoodTooltip(MobileParty)
public static List<TooltipProperty> GetPartyFoodTooltip(MobileParty mainParty)
Parameters
mainPartyMobileParty
Returns
GetPartyHealthTooltip(PartyBase)
public static List<TooltipProperty> GetPartyHealthTooltip(PartyBase party)
Parameters
partyPartyBase
Returns
GetPartyInventoryCapacityTooltip(MobileParty)
public static List<TooltipProperty> GetPartyInventoryCapacityTooltip(MobileParty party)
Parameters
partyMobileParty
Returns
GetPartyMoraleTooltip(MobileParty)
public static List<TooltipProperty> GetPartyMoraleTooltip(MobileParty mainParty)
Parameters
mainPartyMobileParty
Returns
GetPartyNameplateText(MobileParty, bool)
public static string GetPartyNameplateText(MobileParty party, bool includeAttachedParties)
Parameters
partyMobilePartyincludeAttachedPartiesbool
Returns
GetPartyNameplateText(PartyBase)
public static string GetPartyNameplateText(PartyBase party)
Parameters
partyPartyBase
Returns
GetPartyPrisonerSizeLimitTooltip(PartyBase)
public static List<TooltipProperty> GetPartyPrisonerSizeLimitTooltip(PartyBase party)
Parameters
partyPartyBase
Returns
GetPartySpeedTooltip()
public static List<TooltipProperty> GetPartySpeedTooltip()
Returns
GetPartyTroopSizeLimitTooltip(PartyBase)
public static List<TooltipProperty> GetPartyTroopSizeLimitTooltip(PartyBase party)
Parameters
partyPartyBase
Returns
GetPartyWageTooltip()
public static List<TooltipProperty> GetPartyWageTooltip()
Returns
GetPartyWageTooltip(MobileParty)
public static List<TooltipProperty> GetPartyWageTooltip(MobileParty mobileParty)
Parameters
mobilePartyMobileParty
Returns
GetPerkEffectText(PerkObject, bool)
public static List<TooltipProperty> GetPerkEffectText(PerkObject perk, bool isActive)
Parameters
perkPerkObjectisActivebool
Returns
GetPerkRoleText(PerkObject, bool)
public static TextObject GetPerkRoleText(PerkObject perk, bool getSecondary)
Parameters
perkPerkObjectgetSecondarybool
Returns
GetPlayerHitpointsTooltip()
public static List<TooltipProperty> GetPlayerHitpointsTooltip()
Returns
GetQuestExplanationOfHero(IssueQuestFlags)
public static string GetQuestExplanationOfHero(CampaignUIHelper.IssueQuestFlags questType)
Parameters
questTypeCampaignUIHelper.IssueQuestFlags
Returns
GetQuestStateOfHero(Hero)
public static List<(CampaignUIHelper.IssueQuestFlags, TextObject, TextObject)> GetQuestStateOfHero(Hero queriedHero)
Parameters
queriedHeroHero
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
heroHero
Returns
GetQuestsRelatedToParty(MobileParty)
public static List<QuestBase> GetQuestsRelatedToParty(MobileParty party)
Parameters
partyMobileParty
Returns
GetQuestsRelatedToSettlement(Settlement)
public static List<QuestBase> GetQuestsRelatedToSettlement(Settlement settlement)
Parameters
settlementSettlement
Returns
GetSettlementConsumptionTooltip(Settlement)
public static List<TooltipProperty> GetSettlementConsumptionTooltip(Settlement settlement)
Parameters
settlementSettlement
Returns
GetSettlementProductionTooltip(Settlement)
public static List<TooltipProperty> GetSettlementProductionTooltip(Settlement settlement)
Parameters
settlementSettlement
Returns
GetSettlementPropertyTooltip(Settlement, string, float, ExplainedNumber)
public static List<TooltipProperty> GetSettlementPropertyTooltip(Settlement settlement, string valueName, float value, ExplainedNumber explainedNumber)
Parameters
settlementSettlementvalueNamestringvaluefloatexplainedNumberExplainedNumber
Returns
GetSettlementPropertyTooltipWithResult(Settlement, string, float, ref ExplainedNumber)
public static List<TooltipProperty> GetSettlementPropertyTooltipWithResult(Settlement settlement, string valueName, float value, ref ExplainedNumber explainedNumber)
Parameters
settlementSettlementvalueNamestringvaluefloatexplainedNumberExplainedNumber
Returns
GetSiegeMachineName(SiegeEngineType)
public static string GetSiegeMachineName(SiegeEngineType engineType)
Parameters
engineTypeSiegeEngineType
Returns
GetSiegeMachineNameWithDesctiption(SiegeEngineType)
public static string GetSiegeMachineNameWithDesctiption(SiegeEngineType engineType)
Parameters
engineTypeSiegeEngineType
Returns
GetSiegeMachineTooltip(SiegeEngineType, bool, int)
public static List<TooltipProperty> GetSiegeMachineTooltip(SiegeEngineType engineType, bool showDescription = true, int hoursUntilCompletion = 0)
Parameters
engineTypeSiegeEngineTypeshowDescriptionboolhoursUntilCompletionint
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
effectSkillEffectskillLevelint
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
settlementSettlementteleportationBehaviorITeleportationCampaignBehavior
Returns
GetTeleportingLeaderHero(MobileParty, ITeleportationCampaignBehavior)
public static Hero GetTeleportingLeaderHero(MobileParty party, ITeleportationCampaignBehavior teleportationBehavior)
Parameters
partyMobilePartyteleportationBehaviorITeleportationCampaignBehavior
Returns
GetTextForRole(PerkRole)
public static string GetTextForRole(SkillEffect.PerkRole role)
Parameters
roleSkillEffect.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
propertyNamestringcurrentValuefloatexplainedNumberExplainedNumber
Returns
GetTooltipForAccumulatingPropertyWithResult(string, float, ref ExplainedNumber)
public static List<TooltipProperty> GetTooltipForAccumulatingPropertyWithResult(string propertyName, float currentValue, ref ExplainedNumber explainedNumber)
Parameters
propertyNamestringcurrentValuefloatexplainedNumberExplainedNumber
Returns
GetTooltipForgProperty(string, float, ExplainedNumber)
public static List<TooltipProperty> GetTooltipForgProperty(string propertyName, float currentValue, ExplainedNumber explainedNumber)
Parameters
propertyNamestringcurrentValuefloatexplainedNumberExplainedNumber
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
townTown
Returns
GetTownFoodTooltip(Town)
public static List<TooltipProperty> GetTownFoodTooltip(Town town)
Parameters
townTown
Returns
GetTownGarrisonTooltip(Town)
public static List<TooltipProperty> GetTownGarrisonTooltip(Town town)
Parameters
townTown
Returns
GetTownLoyaltyTooltip(Town)
public static List<TooltipProperty> GetTownLoyaltyTooltip(Town town)
Parameters
townTown
Returns
GetTownMilitiaTooltip(Town)
public static List<TooltipProperty> GetTownMilitiaTooltip(Town town)
Parameters
townTown
Returns
GetTownProsperityTooltip(Town)
public static List<TooltipProperty> GetTownProsperityTooltip(Town town)
Parameters
townTown
Returns
GetTownSecurityTooltip(Town)
public static List<TooltipProperty> GetTownSecurityTooltip(Town town)
Parameters
townTown
Returns
GetTownWallsTooltip(Town)
public static string GetTownWallsTooltip(Town town)
Parameters
townTown
Returns
GetTraitNameText(TraitObject, Hero)
public static string GetTraitNameText(TraitObject traitObject, Hero hero)
Parameters
traitObjectTraitObjectheroHero
Returns
GetTraitTooltipText(TraitObject, int)
public static string GetTraitTooltipText(TraitObject traitObject, int traitValue)
Parameters
traitObjectTraitObjecttraitValueint
Returns
GetTroopConformityTooltip(TroopRosterElement)
public static List<TooltipProperty> GetTroopConformityTooltip(TroopRosterElement troop)
Parameters
troopTroopRosterElement
Returns
GetTroopLockStringID(TroopRosterElement)
public static string GetTroopLockStringID(TroopRosterElement rosterElement)
Parameters
rosterElementTroopRosterElement
Returns
GetTroopXPTooltip(TroopRosterElement)
public static List<TooltipProperty> GetTroopXPTooltip(TroopRosterElement troop)
Parameters
troopTroopRosterElement
Returns
GetTruceOwnedSettlementsTooltip(List<Settlement>, TextObject, bool)
public static List<TooltipProperty> GetTruceOwnedSettlementsTooltip(List<Settlement> settlements, TextObject factionName, bool isTown)
Parameters
settlementsList<Settlement>factionNameTextObjectisTownbool
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
indexintnumOfItemsintavailableUpgradesintupgradeCoinCostinthasRequiredPerkboolrequiredPerkPerkObjectcharacterCharacterObjecttroopTroopRosterElementpartyGoldChangeAmountintentireStackShortcutKeyTextstringfiveStackShortcutKeyTextstring
Returns
GetUsedHorsesTooltip(List<Tuple<EquipmentElement, int>>)
public static List<TooltipProperty> GetUsedHorsesTooltip(List<Tuple<EquipmentElement, int>> usedUpgradeHorsesHistory)
Parameters
usedUpgradeHorsesHistoryList<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
villageVillage
Returns
GetVillageProsperityTooltip(Village)
public static List<TooltipProperty> GetVillageProsperityTooltip(Village village)
Parameters
villageVillage
Returns
GetVisualPartyLeader(PartyBase)
public static CharacterObject GetVisualPartyLeader(PartyBase party)
Parameters
partyPartyBase
Returns
GetWarPrisonersTooltip(List<Hero>, TextObject)
public static List<TooltipProperty> GetWarPrisonersTooltip(List<Hero> capturedPrisoners, TextObject factionName)
Parameters
capturedPrisonersList<Hero>factionNameTextObject
Returns
GetWarSuccessfulRaidsTooltip(List<Settlement>, TextObject)
public static List<TooltipProperty> GetWarSuccessfulRaidsTooltip(List<Settlement> settlements, TextObject factionName)
Parameters
settlementsList<Settlement>factionNameTextObject
Returns
GetWarSuccessfulSiegesTooltip(List<Settlement>, TextObject, bool)
public static List<TooltipProperty> GetWarSuccessfulSiegesTooltip(List<Settlement> settlements, TextObject factionName, bool isTown)
Parameters
settlementsList<Settlement>factionNameTextObjectisTownbool
Returns
GetWeaponFlagDetails(WeaponFlags, CharacterObject)
public static List<(string, TextObject)> GetWeaponFlagDetails(WeaponFlags weaponFlags, CharacterObject character = null)
Parameters
weaponFlagsWeaponFlagscharacterCharacterObject
Returns
- List<(string, TextObject)>
IsHeroInformationHidden(Hero, out TextObject)
public static bool IsHeroInformationHidden(Hero hero, out TextObject disableReason)
Parameters
heroHerodisableReasonTextObject
Returns
IsItemUsageApplicable(WeaponComponentData)
public static bool IsItemUsageApplicable(WeaponComponentData weapon)
Parameters
weaponWeaponComponentData
Returns
IsSettlementInformationHidden(Settlement, out TextObject)
public static bool IsSettlementInformationHidden(Settlement settlement, out TextObject disableReason)
Parameters
settlementSettlementdisableReasonTextObject
Returns
IsStringApplicableForHeroName(string)
public static Tuple<bool, string> IsStringApplicableForHeroName(string name)
Parameters
namestring
Returns
IsStringApplicableForItemName(string)
public static Tuple<bool, TextObject> IsStringApplicableForItemName(string name)
Parameters
namestring
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).