Table of Contents

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

bool

IsFiveStackModifierActive

public bool IsFiveStackModifierActive

Field Value

bool

IsInConversation

public bool IsInConversation

Field Value

bool

Properties

AreMembersRelevantOnCurrentMode

[DataSourceProperty]
public bool AreMembersRelevantOnCurrentMode { get; set; }

Property Value

bool

ArePrisonersRelevantOnCurrentMode

[DataSourceProperty]
public bool ArePrisonersRelevantOnCurrentMode { get; set; }

Property Value

bool

CanChooseRoles

[DataSourceProperty]
public bool CanChooseRoles { get; set; }

Property Value

bool

CanRightPartyTakeMorePrisoners

public bool CanRightPartyTakeMorePrisoners { get; }

Property Value

bool

CanRightPartyTakeMoreTroops

public bool CanRightPartyTakeMoreTroops { get; }

Property Value

bool

CancelInputKey

[DataSourceProperty]
public InputKeyItemVM CancelInputKey { get; set; }

Property Value

InputKeyItemVM

CancelLbl

[DataSourceProperty]
public string CancelLbl { get; set; }

Property Value

string

CurrentCharacter

[DataSourceProperty]
public PartyCharacterVM CurrentCharacter { get; set; }

Property Value

PartyCharacterVM

CurrentCharacterLevelLbl

[DataSourceProperty]
public string CurrentCharacterLevelLbl { get; set; }

Property Value

string

CurrentCharacterTier

[DataSourceProperty]
public StringItemWithHintVM CurrentCharacterTier { get; set; }

Property Value

StringItemWithHintVM

CurrentCharacterWageLbl

[DataSourceProperty]
public string CurrentCharacterWageLbl { get; set; }

Property Value

string

CurrentFocusedCharacter

[DataSourceProperty]
public PartyCharacterVM CurrentFocusedCharacter { get; set; }

Property Value

PartyCharacterVM

CurrentFocusedUpgrade

[DataSourceProperty]
public UpgradeTargetVM CurrentFocusedUpgrade { get; set; }

Property Value

UpgradeTargetVM

DenarHint

[DataSourceProperty]
public HintViewModel DenarHint { get; set; }

Property Value

HintViewModel

DismissAllPrisonersInputKey

[DataSourceProperty]
public InputKeyItemVM DismissAllPrisonersInputKey { get; set; }

Property Value

InputKeyItemVM

DismissAllTroopsInputKey

[DataSourceProperty]
public InputKeyItemVM DismissAllTroopsInputKey { get; set; }

Property Value

InputKeyItemVM

DoneHint

[DataSourceProperty]
public HintViewModel DoneHint { get; set; }

Property Value

HintViewModel

DoneInputKey

[DataSourceProperty]
public InputKeyItemVM DoneInputKey { get; set; }

Property Value

InputKeyItemVM

DoneLbl

[DataSourceProperty]
public string DoneLbl { get; set; }

Property Value

string

FormationHint

[DataSourceProperty]
public HintViewModel FormationHint { get; set; }

Property Value

HintViewModel

GoldChangeText

[DataSourceProperty]
public string GoldChangeText { get; set; }

Property Value

string

HeaderLbl

[DataSourceProperty]
public string HeaderLbl { get; set; }

Property Value

string

HorseChangeText

[DataSourceProperty]
public string HorseChangeText { get; set; }

Property Value

string

InfluenceChangeText

[DataSourceProperty]
public string InfluenceChangeText { get; set; }

Property Value

string

InfoLbl

[DataSourceProperty]
public string InfoLbl { get; set; }

Property Value

string

IsAnyPopUpOpen

public bool IsAnyPopUpOpen { get; }

Property Value

bool

IsCancelDisabled

[DataSourceProperty]
public bool IsCancelDisabled { get; set; }

Property Value

bool

IsCurrentCharacterFormationEnabled

[DataSourceProperty]
public bool IsCurrentCharacterFormationEnabled { get; set; }

Property Value

bool

IsCurrentCharacterWageEnabled

[DataSourceProperty]
public bool IsCurrentCharacterWageEnabled { get; set; }

Property Value

bool

IsDoneDisabled

[DataSourceProperty]
public bool IsDoneDisabled { get; set; }

Property Value

bool

IsMainPrisonersHaveTransferableTroops

[DataSourceProperty]
public bool IsMainPrisonersHaveTransferableTroops { get; set; }

Property Value

bool

IsMainPrisonersLimitWarningEnabled

[DataSourceProperty]
public bool IsMainPrisonersLimitWarningEnabled { get; set; }

Property Value

bool

IsMainTroopsHaveTransferableTroops

[DataSourceProperty]
public bool IsMainTroopsHaveTransferableTroops { get; set; }

Property Value

bool

IsMainTroopsLimitWarningEnabled

[DataSourceProperty]
public bool IsMainTroopsLimitWarningEnabled { get; set; }

Property Value

bool

IsOtherPrisonersHaveTransferableTroops

[DataSourceProperty]
public bool IsOtherPrisonersHaveTransferableTroops { get; set; }

Property Value

bool

IsOtherPrisonersLimitWarningEnabled

[DataSourceProperty]
public bool IsOtherPrisonersLimitWarningEnabled { get; set; }

Property Value

bool

IsOtherTroopsHaveTransferableTroops

[DataSourceProperty]
public bool IsOtherTroopsHaveTransferableTroops { get; set; }

Property Value

bool

IsOtherTroopsLimitWarningEnabled

[DataSourceProperty]
public bool IsOtherTroopsLimitWarningEnabled { get; set; }

Property Value

bool

IsRecruitPopUpDisabled

[DataSourceProperty]
public bool IsRecruitPopUpDisabled { get; set; }

Property Value

bool

IsUpgradePopUpDisabled

[DataSourceProperty]
public bool IsUpgradePopUpDisabled { get; set; }

Property Value

bool

IsUpgradePopupButtonHighlightEnabled

[DataSourceProperty]
public bool IsUpgradePopupButtonHighlightEnabled { get; set; }

Property Value

bool

LevelHint

[DataSourceProperty]
public HintViewModel LevelHint { get; set; }

Property Value

HintViewModel

MainPartyComposition

[DataSourceProperty]
public PartyCompositionVM MainPartyComposition { get; set; }

Property Value

PartyCompositionVM

MainPartyNameLbl

[DataSourceProperty]
public string MainPartyNameLbl { get; set; }

Property Value

string

MainPartyPrisonerSizeLimitHint

[DataSourceProperty]
public BasicTooltipViewModel MainPartyPrisonerSizeLimitHint { get; set; }

Property Value

BasicTooltipViewModel

MainPartyPrisoners

[DataSourceProperty]
public MBBindingList<PartyCharacterVM> MainPartyPrisoners { get; set; }

Property Value

MBBindingList<PartyCharacterVM>

MainPartyPrisonersLbl

[DataSourceProperty]
public string MainPartyPrisonersLbl { get; set; }

Property Value

string

MainPartySortController

[DataSourceProperty]
public PartySortControllerVM MainPartySortController { get; set; }

Property Value

PartySortControllerVM

MainPartyTotalGoldLbl

[DataSourceProperty]
public string MainPartyTotalGoldLbl { get; set; }

Property Value

string

MainPartyTotalMoraleLbl

[DataSourceProperty]
public string MainPartyTotalMoraleLbl { get; set; }

Property Value

string

MainPartyTotalSpeedLbl

[DataSourceProperty]
public string MainPartyTotalSpeedLbl { get; set; }

Property Value

string

MainPartyTotalWeeklyCostLbl

[DataSourceProperty]
public string MainPartyTotalWeeklyCostLbl { get; set; }

Property Value

string

MainPartyTroopSizeLimitHint

[DataSourceProperty]
public BasicTooltipViewModel MainPartyTroopSizeLimitHint { get; set; }

Property Value

BasicTooltipViewModel

MainPartyTroops

[DataSourceProperty]
public MBBindingList<PartyCharacterVM> MainPartyTroops { get; set; }

Property Value

MBBindingList<PartyCharacterVM>

MainPartyTroopsLbl

[DataSourceProperty]
public string MainPartyTroopsLbl { get; set; }

Property Value

string

MoraleChangeText

[DataSourceProperty]
public string MoraleChangeText { get; set; }

Property Value

string

MoraleHint

[DataSourceProperty]
public HintViewModel MoraleHint { get; set; }

Property Value

HintViewModel

OpenRecruitPanelInputKey

[DataSourceProperty]
public InputKeyItemVM OpenRecruitPanelInputKey { get; set; }

Property Value

InputKeyItemVM

OpenUpgradePanelInputKey

[DataSourceProperty]
public InputKeyItemVM OpenUpgradePanelInputKey { get; set; }

Property Value

InputKeyItemVM

OtherPartyAccompanyingLbl

[DataSourceProperty]
public string OtherPartyAccompanyingLbl { get; set; }

Property Value

string

OtherPartyComposition

[DataSourceProperty]
public PartyCompositionVM OtherPartyComposition { get; set; }

Property Value

PartyCompositionVM

OtherPartyNameLbl

[DataSourceProperty]
public string OtherPartyNameLbl { get; set; }

Property Value

string

OtherPartyPrisonerSizeLimitHint

[DataSourceProperty]
public BasicTooltipViewModel OtherPartyPrisonerSizeLimitHint { get; set; }

Property Value

BasicTooltipViewModel

OtherPartyPrisoners

[DataSourceProperty]
public MBBindingList<PartyCharacterVM> OtherPartyPrisoners { get; set; }

Property Value

MBBindingList<PartyCharacterVM>

OtherPartyPrisonersLbl

[DataSourceProperty]
public string OtherPartyPrisonersLbl { get; set; }

Property Value

string

OtherPartySortController

[DataSourceProperty]
public PartySortControllerVM OtherPartySortController { get; set; }

Property Value

PartySortControllerVM

OtherPartyTroopSizeLimitHint

[DataSourceProperty]
public BasicTooltipViewModel OtherPartyTroopSizeLimitHint { get; set; }

Property Value

BasicTooltipViewModel

OtherPartyTroops

[DataSourceProperty]
public MBBindingList<PartyCharacterVM> OtherPartyTroops { get; set; }

Property Value

MBBindingList<PartyCharacterVM>

OtherPartyTroopsLbl

[DataSourceProperty]
public string OtherPartyTroopsLbl { get; set; }

Property Value

string

PartyScreenLogic

public PartyScreenLogic PartyScreenLogic { get; }

Property Value

PartyScreenLogic

PrisonersLabel

[DataSourceProperty]
public string PrisonersLabel { get; set; }

Property Value

string

QuestProgressCurrentCount

[DataSourceProperty]
public int QuestProgressCurrentCount { get; set; }

Property Value

int

QuestProgressRequiredCount

[DataSourceProperty]
public int QuestProgressRequiredCount { get; set; }

Property Value

int

RecruitPopUp

[DataSourceProperty]
public PartyRecruitTroopVM RecruitPopUp { get; set; }

Property Value

PartyRecruitTroopVM

RecruitableTroopCount

[DataSourceProperty]
public int RecruitableTroopCount { get; set; }

Property Value

int

ResetHint

[DataSourceProperty]
public HintViewModel ResetHint { get; set; }

Property Value

HintViewModel

ResetInputKey

[DataSourceProperty]
public InputKeyItemVM ResetInputKey { get; set; }

Property Value

InputKeyItemVM

SelectedCharacter

[DataSourceProperty]
public HeroViewModel SelectedCharacter { get; set; }

Property Value

HeroViewModel

ShowQuestProgress

[DataSourceProperty]
public bool ShowQuestProgress { get; set; }

Property Value

bool

SpeedHint

[DataSourceProperty]
public BasicTooltipViewModel SpeedHint { get; set; }

Property Value

BasicTooltipViewModel

TakeAllPrisonersInputKey

[DataSourceProperty]
public InputKeyItemVM TakeAllPrisonersInputKey { get; set; }

Property Value

InputKeyItemVM

TakeAllTroopsInputKey

[DataSourceProperty]
public InputKeyItemVM TakeAllTroopsInputKey { get; set; }

Property Value

InputKeyItemVM

TalkLbl

[DataSourceProperty]
public string TalkLbl { get; set; }

Property Value

string

TitleLbl

[DataSourceProperty]
public string TitleLbl { get; set; }

Property Value

string

TotalWageHint

[DataSourceProperty]
public HintViewModel TotalWageHint { get; set; }

Property Value

HintViewModel

TransferAllMainPrisonersHint

[DataSourceProperty]
public BasicTooltipViewModel TransferAllMainPrisonersHint { get; set; }

Property Value

BasicTooltipViewModel

TransferAllMainTroopsHint

[DataSourceProperty]
public BasicTooltipViewModel TransferAllMainTroopsHint { get; set; }

Property Value

BasicTooltipViewModel

TransferAllOtherPrisonersHint

[DataSourceProperty]
public BasicTooltipViewModel TransferAllOtherPrisonersHint { get; set; }

Property Value

BasicTooltipViewModel

TransferAllOtherTroopsHint

[DataSourceProperty]
public BasicTooltipViewModel TransferAllOtherTroopsHint { get; set; }

Property Value

BasicTooltipViewModel

TroopsLabel

[DataSourceProperty]
public string TroopsLabel { get; set; }

Property Value

string

UpgradableTroopCount

[DataSourceProperty]
public int UpgradableTroopCount { get; set; }

Property Value

int

UpgradePopUp

[DataSourceProperty]
public PartyUpgradeTroopVM UpgradePopUp { get; set; }

Property Value

PartyUpgradeTroopVM

UsedHorsesHint

[DataSourceProperty]
public BasicTooltipViewModel UsedHorsesHint { get; set; }

Property Value

BasicTooltipViewModel

WageHint

[DataSourceProperty]
public HintViewModel WageHint { get; set; }

Property Value

HintViewModel

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 PartyCharacterVM
recruitAll 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 PartyCharacterVM
index int
targetTag string

ExecuteUpgrade(PartyCharacterVM, int, int)

public void ExecuteUpgrade(PartyCharacterVM troop, int upgradeTargetType, int maxUpgradeCount)

Parameters

troop PartyCharacterVM
upgradeTargetType int
maxUpgradeCount 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

text string
accept Action
cancel Action

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).