Table of Contents

Class RecruitVolunteerTroopVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.GameMenu.Recruitment
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 RecruitVolunteerVM
character CharacterObject
index int
onClick Action<RecruitVolunteerTroopVM>
onRemoveFromCart Action<RecruitVolunteerTroopVM>

Fields

Character

public CharacterObject Character

Field Value

CharacterObject

Index

public int Index

Field Value

int

OnFocused

public static Action<RecruitVolunteerTroopVM> OnFocused

Field Value

Action<RecruitVolunteerTroopVM>

Owner

public RecruitVolunteerVM Owner

Field Value

RecruitVolunteerVM

Properties

CanBeRecruited

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

Property Value

bool

Cost

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

Property Value

int

ImageIdentifier

[DataSourceProperty]
public ImageIdentifierVM ImageIdentifier { get; set; }

Property Value

ImageIdentifierVM

IsHiglightEnabled

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

Property Value

bool

IsInCart

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

Property Value

bool

IsTroopEmpty

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

Property Value

bool

Level

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

Property Value

string

NameText

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

Property Value

string

PlayerHasEnoughRelation

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

Property Value

bool

TierIconData

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

Property Value

StringItemWithHintVM

TypeIconData

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

Property Value

StringItemWithHintVM

Wage

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

Property Value

int

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