Table of Contents

Class ArmyManagementItemVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.ArmyManagement
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class ArmyManagementItemVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
ArmyManagementItemVM
Implements
Inherited Members

Constructors

ArmyManagementItemVM(Action<ArmyManagementItemVM>, Action<ArmyManagementItemVM>, Action<ArmyManagementItemVM>, MobileParty)

public ArmyManagementItemVM(Action<ArmyManagementItemVM> onAddToCart, Action<ArmyManagementItemVM> onRemove, Action<ArmyManagementItemVM> onFocus, MobileParty mobileParty)

Parameters

onAddToCart Action<ArmyManagementItemVM>
onRemove Action<ArmyManagementItemVM>
onFocus Action<ArmyManagementItemVM>
mobileParty MobileParty

Fields

CanJoinBackWithoutCost

public bool CanJoinBackWithoutCost

Field Value

bool

Party

public readonly MobileParty Party

Field Value

MobileParty

Properties

Clan

public Clan Clan { get; }

Property Value

Clan

ClanBanner

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

Property Value

ImageIdentifierVM

Cost

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

Property Value

int

DistInTime

public float DistInTime { get; }

Property Value

float

DistanceText

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

Property Value

string

InArmyText

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

Property Value

string

IsAlreadyWithPlayer

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

Property Value

bool

IsEligible

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

Property Value

bool

IsFocused

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

Property Value

bool

IsInCart

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

Property Value

bool

IsMainHero

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

Property Value

bool

IsTransferDisabled

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

Property Value

bool

LeaderNameText

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

Property Value

string

LordFace

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

Property Value

ImageIdentifierVM

NameText

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

Property Value

string

Relation

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

Property Value

int

RemoveInputKey

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

Property Value

InputKeyItemVM

Strength

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

Property Value

int

_distance

public float _distance { get; }

Property Value

float

Methods

ExecuteAction()

public void ExecuteAction()

ExecuteBeginHint()

public void ExecuteBeginHint()

ExecuteEndHint()

public void ExecuteEndHint()

ExecuteOpenEncyclopedia()

public void ExecuteOpenEncyclopedia()

ExecuteSetFocused()

public void ExecuteSetFocused()

ExecuteSetUnfocused()

public void ExecuteSetUnfocused()

RefreshValues()

public override void RefreshValues()

UpdateEligibility()

public void UpdateEligibility()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).