Class RecruitVolunteerTroopVM
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class RecruitVolunteerTroopVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
RecruitVolunteerTroopVM
- Implements
- Inherited Members
Constructors
RecruitVolunteerTroopVM(RecruitVolunteerVM, CharacterObject, int, Action<RecruitVolunteerTroopVM>, Action<RecruitVolunteerTroopVM>)
public RecruitVolunteerTroopVM(RecruitVolunteerVM owner, CharacterObject character, int index, Action<RecruitVolunteerTroopVM> onClick, Action<RecruitVolunteerTroopVM> onRemoveFromCart)
Parameters
owner
RecruitVolunteerVMcharacter
CharacterObjectindex
intonClick
Action<RecruitVolunteerTroopVM>onRemoveFromCart
Action<RecruitVolunteerTroopVM>
Fields
Character
public CharacterObject Character
Field Value
Index
public int Index
Field Value
OnFocused
public static Action<RecruitVolunteerTroopVM> OnFocused
Field Value
Owner
public RecruitVolunteerVM Owner
Field Value
Properties
CanBeRecruited
[DataSourceProperty]
public bool CanBeRecruited { get; set; }
Property Value
Cost
[DataSourceProperty]
public int Cost { get; set; }
Property Value
ImageIdentifier
[DataSourceProperty]
public ImageIdentifierVM ImageIdentifier { get; set; }
Property Value
IsHiglightEnabled
[DataSourceProperty]
public bool IsHiglightEnabled { get; set; }
Property Value
IsInCart
[DataSourceProperty]
public bool IsInCart { get; set; }
Property Value
IsTroopEmpty
[DataSourceProperty]
public bool IsTroopEmpty { get; set; }
Property Value
Level
[DataSourceProperty]
public string Level { get; set; }
Property Value
NameText
[DataSourceProperty]
public string NameText { get; set; }
Property Value
PlayerHasEnoughRelation
[DataSourceProperty]
public bool PlayerHasEnoughRelation { get; set; }
Property Value
TierIconData
[DataSourceProperty]
public StringItemWithHintVM TierIconData { get; set; }
Property Value
TypeIconData
[DataSourceProperty]
public StringItemWithHintVM TypeIconData { get; set; }
Property Value
Wage
[DataSourceProperty]
public int Wage { get; set; }
Property Value
Methods
ExecuteBeginHint()
public virtual void ExecuteBeginHint()
ExecuteEndHint()
public virtual void ExecuteEndHint()
ExecuteFocus()
public void ExecuteFocus()
ExecuteOpenEncyclopedia()
public void ExecuteOpenEncyclopedia()
ExecuteRecruit()
public void ExecuteRecruit()
ExecuteRemoveFromCart()
public void ExecuteRemoveFromCart()
ExecuteUnfocus()
public void ExecuteUnfocus()
RefreshValues()
public override void RefreshValues()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).