Table of Contents

Class GameMenuPartyItemVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.GameMenu.Overlay
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class GameMenuPartyItemVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
GameMenuPartyItemVM
Implements
Inherited Members

Constructors

GameMenuPartyItemVM()

public GameMenuPartyItemVM()

GameMenuPartyItemVM(Action<GameMenuPartyItemVM>, CharacterObject, bool)

public GameMenuPartyItemVM(Action<GameMenuPartyItemVM> onSetAsContextMenuActiveItem, CharacterObject character, bool useCivilianEquipment)

Parameters

onSetAsContextMenuActiveItem Action<GameMenuPartyItemVM>
character CharacterObject
useCivilianEquipment bool

GameMenuPartyItemVM(Action<GameMenuPartyItemVM>, PartyBase, bool)

public GameMenuPartyItemVM(Action<GameMenuPartyItemVM> onSetAsContextMenuActiveItem, PartyBase item, bool canShowQuest)

Parameters

onSetAsContextMenuActiveItem Action<GameMenuPartyItemVM>
item PartyBase
canShowQuest bool

GameMenuPartyItemVM(Action<GameMenuPartyItemVM>, Settlement)

public GameMenuPartyItemVM(Action<GameMenuPartyItemVM> onSetAsContextMenuActiveItem, Settlement settlement)

Parameters

onSetAsContextMenuActiveItem Action<GameMenuPartyItemVM>
settlement Settlement

Fields

Character

public CharacterObject Character

Field Value

CharacterObject

Party

public PartyBase Party

Field Value

PartyBase

Settlement

public Settlement Settlement

Field Value

Settlement

Properties

Banner_9

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

Property Value

ImageIdentifierVM

DescriptionText

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

Property Value

string

IsAlly

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

Property Value

bool

IsCharacterInPrison

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

Property Value

bool

IsEnemy

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

Property Value

bool

IsHighlightEnabled

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

Property Value

bool

IsIdle

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

Property Value

bool

IsLeader

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

Property Value

bool

IsMergedWithArmy

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

Property Value

bool

IsNeutral

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

Property Value

bool

IsPlayer

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

Property Value

bool

LocationText

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

Property Value

string

NameText

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

Property Value

string

PartySize

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

Property Value

int

PartySizeLbl

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

Property Value

string

PartyWoundedSize

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

Property Value

int

PowerText

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

Property Value

string

ProfessionText

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

Property Value

string

Quests

[DataSourceProperty]
public MBBindingList<QuestMarkerVM> Quests { get; set; }

Property Value

MBBindingList<QuestMarkerVM>

Relation

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

Property Value

int

SettlementPath

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

Property Value

string

Visual

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

Property Value

ImageIdentifierVM

Methods

ExecuteCloseTooltip()

public void ExecuteCloseTooltip()

ExecuteOpenEncyclopedia()

public void ExecuteOpenEncyclopedia()

ExecuteOpenTooltip()

public void ExecuteOpenTooltip()

ExecuteSetAsContextMenuItem()

public void ExecuteSetAsContextMenuItem()

GetPartyDescriptionTextFromValues()

public string GetPartyDescriptionTextFromValues()

Returns

string

RefreshProperties()

public void RefreshProperties()

RefreshQuestStatus()

public void RefreshQuestStatus()

RefreshValues()

public override void RefreshValues()

RefreshVisual()

public void RefreshVisual()

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