Class PartyVM
- Namespace
- TaleWorlds.CampaignSystem.ViewModelCollection.Party
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class PartyVM : ViewModel, IViewModel, INotifyPropertyChanged, IPartyScreenLogicHandler, PartyScreenPrisonHandler, IPartyScreenTroopHandler
- Inheritance
-
PartyVM
- Implements
- Inherited Members
Constructors
PartyVM(PartyScreenLogic)
public PartyVM(PartyScreenLogic partyScreenLogic)
Parameters
partyScreenLogic
PartyScreenLogic
Fields
IsEntireStackModifierActive
public bool IsEntireStackModifierActive
Field Value
IsFiveStackModifierActive
public bool IsFiveStackModifierActive
Field Value
IsInConversation
public bool IsInConversation
Field Value
Properties
AreMembersRelevantOnCurrentMode
[DataSourceProperty]
public bool AreMembersRelevantOnCurrentMode { get; set; }
Property Value
ArePrisonersRelevantOnCurrentMode
[DataSourceProperty]
public bool ArePrisonersRelevantOnCurrentMode { get; set; }
Property Value
CanChooseRoles
[DataSourceProperty]
public bool CanChooseRoles { get; set; }
Property Value
CanRightPartyTakeMorePrisoners
public bool CanRightPartyTakeMorePrisoners { get; }
Property Value
CanRightPartyTakeMoreTroops
public bool CanRightPartyTakeMoreTroops { get; }
Property Value
CancelInputKey
[DataSourceProperty]
public InputKeyItemVM CancelInputKey { get; set; }
Property Value
CancelLbl
[DataSourceProperty]
public string CancelLbl { get; set; }
Property Value
CurrentCharacter
[DataSourceProperty]
public PartyCharacterVM CurrentCharacter { get; set; }
Property Value
CurrentCharacterLevelLbl
[DataSourceProperty]
public string CurrentCharacterLevelLbl { get; set; }
Property Value
CurrentCharacterTier
[DataSourceProperty]
public StringItemWithHintVM CurrentCharacterTier { get; set; }
Property Value
CurrentCharacterWageLbl
[DataSourceProperty]
public string CurrentCharacterWageLbl { get; set; }
Property Value
CurrentFocusedCharacter
[DataSourceProperty]
public PartyCharacterVM CurrentFocusedCharacter { get; set; }
Property Value
CurrentFocusedUpgrade
[DataSourceProperty]
public UpgradeTargetVM CurrentFocusedUpgrade { get; set; }
Property Value
DenarHint
[DataSourceProperty]
public HintViewModel DenarHint { get; set; }
Property Value
DismissAllPrisonersInputKey
[DataSourceProperty]
public InputKeyItemVM DismissAllPrisonersInputKey { get; set; }
Property Value
DismissAllTroopsInputKey
[DataSourceProperty]
public InputKeyItemVM DismissAllTroopsInputKey { get; set; }
Property Value
DoneHint
[DataSourceProperty]
public HintViewModel DoneHint { get; set; }
Property Value
DoneInputKey
[DataSourceProperty]
public InputKeyItemVM DoneInputKey { get; set; }
Property Value
DoneLbl
[DataSourceProperty]
public string DoneLbl { get; set; }
Property Value
FormationHint
[DataSourceProperty]
public HintViewModel FormationHint { get; set; }
Property Value
GoldChangeText
[DataSourceProperty]
public string GoldChangeText { get; set; }
Property Value
HeaderLbl
[DataSourceProperty]
public string HeaderLbl { get; set; }
Property Value
HorseChangeText
[DataSourceProperty]
public string HorseChangeText { get; set; }
Property Value
InfluenceChangeText
[DataSourceProperty]
public string InfluenceChangeText { get; set; }
Property Value
InfoLbl
[DataSourceProperty]
public string InfoLbl { get; set; }
Property Value
IsAnyPopUpOpen
public bool IsAnyPopUpOpen { get; }
Property Value
IsCancelDisabled
[DataSourceProperty]
public bool IsCancelDisabled { get; set; }
Property Value
IsCurrentCharacterFormationEnabled
[DataSourceProperty]
public bool IsCurrentCharacterFormationEnabled { get; set; }
Property Value
IsCurrentCharacterWageEnabled
[DataSourceProperty]
public bool IsCurrentCharacterWageEnabled { get; set; }
Property Value
IsDoneDisabled
[DataSourceProperty]
public bool IsDoneDisabled { get; set; }
Property Value
IsMainPrisonersHaveTransferableTroops
[DataSourceProperty]
public bool IsMainPrisonersHaveTransferableTroops { get; set; }
Property Value
IsMainPrisonersLimitWarningEnabled
[DataSourceProperty]
public bool IsMainPrisonersLimitWarningEnabled { get; set; }
Property Value
IsMainTroopsHaveTransferableTroops
[DataSourceProperty]
public bool IsMainTroopsHaveTransferableTroops { get; set; }
Property Value
IsMainTroopsLimitWarningEnabled
[DataSourceProperty]
public bool IsMainTroopsLimitWarningEnabled { get; set; }
Property Value
IsOtherPrisonersHaveTransferableTroops
[DataSourceProperty]
public bool IsOtherPrisonersHaveTransferableTroops { get; set; }
Property Value
IsOtherPrisonersLimitWarningEnabled
[DataSourceProperty]
public bool IsOtherPrisonersLimitWarningEnabled { get; set; }
Property Value
IsOtherTroopsHaveTransferableTroops
[DataSourceProperty]
public bool IsOtherTroopsHaveTransferableTroops { get; set; }
Property Value
IsOtherTroopsLimitWarningEnabled
[DataSourceProperty]
public bool IsOtherTroopsLimitWarningEnabled { get; set; }
Property Value
IsRecruitPopUpDisabled
[DataSourceProperty]
public bool IsRecruitPopUpDisabled { get; set; }
Property Value
IsUpgradePopUpDisabled
[DataSourceProperty]
public bool IsUpgradePopUpDisabled { get; set; }
Property Value
IsUpgradePopupButtonHighlightEnabled
[DataSourceProperty]
public bool IsUpgradePopupButtonHighlightEnabled { get; set; }
Property Value
LevelHint
[DataSourceProperty]
public HintViewModel LevelHint { get; set; }
Property Value
MainPartyComposition
[DataSourceProperty]
public PartyCompositionVM MainPartyComposition { get; set; }
Property Value
MainPartyNameLbl
[DataSourceProperty]
public string MainPartyNameLbl { get; set; }
Property Value
MainPartyPrisonerSizeLimitHint
[DataSourceProperty]
public BasicTooltipViewModel MainPartyPrisonerSizeLimitHint { get; set; }
Property Value
MainPartyPrisoners
[DataSourceProperty]
public MBBindingList<PartyCharacterVM> MainPartyPrisoners { get; set; }
Property Value
MainPartyPrisonersLbl
[DataSourceProperty]
public string MainPartyPrisonersLbl { get; set; }
Property Value
MainPartySortController
[DataSourceProperty]
public PartySortControllerVM MainPartySortController { get; set; }
Property Value
MainPartyTotalGoldLbl
[DataSourceProperty]
public string MainPartyTotalGoldLbl { get; set; }
Property Value
MainPartyTotalMoraleLbl
[DataSourceProperty]
public string MainPartyTotalMoraleLbl { get; set; }
Property Value
MainPartyTotalSpeedLbl
[DataSourceProperty]
public string MainPartyTotalSpeedLbl { get; set; }
Property Value
MainPartyTotalWeeklyCostLbl
[DataSourceProperty]
public string MainPartyTotalWeeklyCostLbl { get; set; }
Property Value
MainPartyTroopSizeLimitHint
[DataSourceProperty]
public BasicTooltipViewModel MainPartyTroopSizeLimitHint { get; set; }
Property Value
MainPartyTroops
[DataSourceProperty]
public MBBindingList<PartyCharacterVM> MainPartyTroops { get; set; }
Property Value
MainPartyTroopsLbl
[DataSourceProperty]
public string MainPartyTroopsLbl { get; set; }
Property Value
MoraleChangeText
[DataSourceProperty]
public string MoraleChangeText { get; set; }
Property Value
MoraleHint
[DataSourceProperty]
public HintViewModel MoraleHint { get; set; }
Property Value
OpenRecruitPanelInputKey
[DataSourceProperty]
public InputKeyItemVM OpenRecruitPanelInputKey { get; set; }
Property Value
OpenUpgradePanelInputKey
[DataSourceProperty]
public InputKeyItemVM OpenUpgradePanelInputKey { get; set; }
Property Value
OtherPartyAccompanyingLbl
[DataSourceProperty]
public string OtherPartyAccompanyingLbl { get; set; }
Property Value
OtherPartyComposition
[DataSourceProperty]
public PartyCompositionVM OtherPartyComposition { get; set; }
Property Value
OtherPartyNameLbl
[DataSourceProperty]
public string OtherPartyNameLbl { get; set; }
Property Value
OtherPartyPrisonerSizeLimitHint
[DataSourceProperty]
public BasicTooltipViewModel OtherPartyPrisonerSizeLimitHint { get; set; }
Property Value
OtherPartyPrisoners
[DataSourceProperty]
public MBBindingList<PartyCharacterVM> OtherPartyPrisoners { get; set; }
Property Value
OtherPartyPrisonersLbl
[DataSourceProperty]
public string OtherPartyPrisonersLbl { get; set; }
Property Value
OtherPartySortController
[DataSourceProperty]
public PartySortControllerVM OtherPartySortController { get; set; }
Property Value
OtherPartyTroopSizeLimitHint
[DataSourceProperty]
public BasicTooltipViewModel OtherPartyTroopSizeLimitHint { get; set; }
Property Value
OtherPartyTroops
[DataSourceProperty]
public MBBindingList<PartyCharacterVM> OtherPartyTroops { get; set; }
Property Value
OtherPartyTroopsLbl
[DataSourceProperty]
public string OtherPartyTroopsLbl { get; set; }
Property Value
PartyScreenLogic
public PartyScreenLogic PartyScreenLogic { get; }
Property Value
PrisonersLabel
[DataSourceProperty]
public string PrisonersLabel { get; set; }
Property Value
QuestProgressCurrentCount
[DataSourceProperty]
public int QuestProgressCurrentCount { get; set; }
Property Value
QuestProgressRequiredCount
[DataSourceProperty]
public int QuestProgressRequiredCount { get; set; }
Property Value
RecruitPopUp
[DataSourceProperty]
public PartyRecruitTroopVM RecruitPopUp { get; set; }
Property Value
RecruitableTroopCount
[DataSourceProperty]
public int RecruitableTroopCount { get; set; }
Property Value
ResetHint
[DataSourceProperty]
public HintViewModel ResetHint { get; set; }
Property Value
ResetInputKey
[DataSourceProperty]
public InputKeyItemVM ResetInputKey { get; set; }
Property Value
SelectedCharacter
[DataSourceProperty]
public HeroViewModel SelectedCharacter { get; set; }
Property Value
ShowQuestProgress
[DataSourceProperty]
public bool ShowQuestProgress { get; set; }
Property Value
SpeedHint
[DataSourceProperty]
public BasicTooltipViewModel SpeedHint { get; set; }
Property Value
TakeAllPrisonersInputKey
[DataSourceProperty]
public InputKeyItemVM TakeAllPrisonersInputKey { get; set; }
Property Value
TakeAllTroopsInputKey
[DataSourceProperty]
public InputKeyItemVM TakeAllTroopsInputKey { get; set; }
Property Value
TalkLbl
[DataSourceProperty]
public string TalkLbl { get; set; }
Property Value
TitleLbl
[DataSourceProperty]
public string TitleLbl { get; set; }
Property Value
TotalWageHint
[DataSourceProperty]
public HintViewModel TotalWageHint { get; set; }
Property Value
TransferAllMainPrisonersHint
[DataSourceProperty]
public BasicTooltipViewModel TransferAllMainPrisonersHint { get; set; }
Property Value
TransferAllMainTroopsHint
[DataSourceProperty]
public BasicTooltipViewModel TransferAllMainTroopsHint { get; set; }
Property Value
TransferAllOtherPrisonersHint
[DataSourceProperty]
public BasicTooltipViewModel TransferAllOtherPrisonersHint { get; set; }
Property Value
TransferAllOtherTroopsHint
[DataSourceProperty]
public BasicTooltipViewModel TransferAllOtherTroopsHint { get; set; }
Property Value
TroopsLabel
[DataSourceProperty]
public string TroopsLabel { get; set; }
Property Value
UpgradableTroopCount
[DataSourceProperty]
public int UpgradableTroopCount { get; set; }
Property Value
UpgradePopUp
[DataSourceProperty]
public PartyUpgradeTroopVM UpgradePopUp { get; set; }
Property Value
UsedHorsesHint
[DataSourceProperty]
public BasicTooltipViewModel UsedHorsesHint { get; set; }
Property Value
WageHint
[DataSourceProperty]
public HintViewModel WageHint { get; set; }
Property Value
Methods
ExecuteCancel()
public void ExecuteCancel()
ExecuteDone()
public void ExecuteDone()
ExecuteExecution()
public void ExecuteExecution()
ExecuteOpenRecruitPopUp()
public void ExecuteOpenRecruitPopUp()
ExecuteOpenUpgradePopUp()
public void ExecuteOpenUpgradePopUp()
ExecuteRecruit(PartyCharacterVM, bool)
public void ExecuteRecruit(PartyCharacterVM character, bool recruitAll = false)
Parameters
character
PartyCharacterVMrecruitAll
bool
ExecuteRemoveZeroCounts()
public void ExecuteRemoveZeroCounts()
ExecuteReset()
public void ExecuteReset()
ExecuteResetAndCancel()
public void ExecuteResetAndCancel()
ExecuteTalk()
public void ExecuteTalk()
ExecuteTransferAllMainPrisoners()
public void ExecuteTransferAllMainPrisoners()
ExecuteTransferAllMainTroops()
public void ExecuteTransferAllMainTroops()
ExecuteTransferAllOtherPrisoners()
public void ExecuteTransferAllOtherPrisoners()
ExecuteTransferAllOtherTroops()
public void ExecuteTransferAllOtherTroops()
ExecuteTransferWithParameters(PartyCharacterVM, int, string)
public void ExecuteTransferWithParameters(PartyCharacterVM party, int index, string targetTag)
Parameters
party
PartyCharacterVMindex
inttargetTag
string
ExecuteUpgrade(PartyCharacterVM, int, int)
public void ExecuteUpgrade(PartyCharacterVM troop, int upgradeTargetType, int maxUpgradeCount)
Parameters
troop
PartyCharacterVMupgradeTargetType
intmaxUpgradeCount
int
OnFinalize()
public override void OnFinalize()
OnRecruitPopUpClosed(bool)
public void OnRecruitPopUpClosed(bool isCancelled)
Parameters
isCancelled
bool
OnUpgradePopUpClosed(bool)
public void OnUpgradePopUpClosed(bool isCancelled)
Parameters
isCancelled
bool
RefreshValues()
public override void RefreshValues()
RequestUserInput(string, Action, Action)
public void RequestUserInput(string text, Action accept, Action cancel)
Parameters
SetCancelInputKey(HotKey)
public void SetCancelInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetDismissAllPrisonersInputKey(HotKey)
public void SetDismissAllPrisonersInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetDismissAllTroopsInputKey(HotKey)
public void SetDismissAllTroopsInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetDoneInputKey(HotKey)
public void SetDoneInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetEntireStackShortcutKeyText(string)
public void SetEntireStackShortcutKeyText(string text)
Parameters
text
string
SetFiveStackShortcutKeyText(string)
public void SetFiveStackShortcutKeyText(string text)
Parameters
text
string
SetGetKeyTextFromKeyIDFunc(Func<string, TextObject>)
public void SetGetKeyTextFromKeyIDFunc(Func<string, TextObject> getKeyTextFromKeyId)
Parameters
getKeyTextFromKeyId
Func<string, TextObject>
SetOpenRecruitPanelInputKey(HotKey)
public void SetOpenRecruitPanelInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetOpenUpgradePanelInputKey(HotKey)
public void SetOpenUpgradePanelInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetResetInputKey(HotKey)
public void SetResetInputKey(HotKey hotkey)
Parameters
hotkey
HotKey
SetSelectedCharacter(PartyCharacterVM)
public void SetSelectedCharacter(PartyCharacterVM troop)
Parameters
troop
PartyCharacterVM
SetTakeAllPrisonersInputKey(HotKey)
public void SetTakeAllPrisonersInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetTakeAllTroopsInputKey(HotKey)
public void SetTakeAllTroopsInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).