Table of Contents

Class EncyclopediaHeroPageVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.Encyclopedia.Pages
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
[EncyclopediaViewModel(typeof(Hero))]
public class EncyclopediaHeroPageVM : EncyclopediaContentPageVM, IViewModel, INotifyPropertyChanged
Inheritance
EncyclopediaHeroPageVM
Implements
Inherited Members

Constructors

EncyclopediaHeroPageVM(EncyclopediaPageArgs)

public EncyclopediaHeroPageVM(EncyclopediaPageArgs args)

Parameters

args EncyclopediaPageArgs

Properties

Allies

[DataSourceProperty]
public MBBindingList<HeroVM> Allies { get; set; }

Property Value

MBBindingList<HeroVM>

AlliesText

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

Property Value

string

ClanText

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

Property Value

string

Companions

[DataSourceProperty]
public MBBindingList<HeroVM> Companions { get; set; }

Property Value

MBBindingList<HeroVM>

CompanionsText

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

Property Value

string

DeceasedText

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

Property Value

string

Dwellings

[DataSourceProperty]
public MBBindingList<EncyclopediaDwellingVM> Dwellings { get; set; }

Property Value

MBBindingList<EncyclopediaDwellingVM>

DwellingsText

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

Property Value

string

Enemies

[DataSourceProperty]
public MBBindingList<HeroVM> Enemies { get; set; }

Property Value

MBBindingList<HeroVM>

EnemiesText

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

Property Value

string

Faction

[DataSourceProperty]
public EncyclopediaFactionVM Faction { get; set; }

Property Value

EncyclopediaFactionVM

Family

[DataSourceProperty]
public MBBindingList<EncyclopediaFamilyMemberVM> Family { get; set; }

Property Value

MBBindingList<EncyclopediaFamilyMemberVM>

FamilyText

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

Property Value

string

HasNeutralClan

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

Property Value

bool

HeroCharacter

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

Property Value

HeroViewModel

History

[DataSourceProperty]
public MBBindingList<EncyclopediaHistoryEventVM> History { get; set; }

Property Value

MBBindingList<EncyclopediaHistoryEventVM>

InfoHiddenReasonText

[DataSourceProperty]
public string InfoHiddenReasonText { get; }

Property Value

string

InfoText

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

Property Value

string

InformationText

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

Property Value

string

IsCompanion

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

Property Value

bool

IsDead

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

Property Value

bool

IsInformationHidden

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

Property Value

bool

IsPregnant

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

Property Value

bool

KingdomRankText

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

Property Value

string

LastSeenText

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

Property Value

string

Master

[DataSourceProperty]
public HeroVM Master { get; set; }

Property Value

HeroVM

MasterText

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

Property Value

string

NameText

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

Property Value

string

PregnantHint

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

Property Value

HintViewModel

Settlements

[DataSourceProperty]
public MBBindingList<EncyclopediaSettlementVM> Settlements { get; set; }

Property Value

MBBindingList<EncyclopediaSettlementVM>

SettlementsText

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

Property Value

string

Skills

[DataSourceProperty]
public MBBindingList<EncyclopediaSkillVM> Skills { get; set; }

Property Value

MBBindingList<EncyclopediaSkillVM>

SkillsText

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

Property Value

string

Stats

[DataSourceProperty]
public MBBindingList<StringPairItemVM> Stats { get; set; }

Property Value

MBBindingList<StringPairItemVM>

Traits

[DataSourceProperty]
public MBBindingList<EncyclopediaTraitItemVM> Traits { get; set; }

Property Value

MBBindingList<EncyclopediaTraitItemVM>

TraitsText

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

Property Value

string

Methods

public void ExecuteLink(string link)

Parameters

link string

ExecuteSwitchBookmarkedState()

public override void ExecuteSwitchBookmarkedState()

GetName()

public override string GetName()

Returns

string

GetNavigationBarURL()

public override string GetNavigationBarURL()

Returns

string

IsEnemy(Hero, Hero)

public static bool IsEnemy(Hero h1, Hero h2)

Parameters

h1 Hero
h2 Hero

Returns

bool

OnFinalize()

public override void OnFinalize()

Refresh()

public override void Refresh()

RefreshValues()

public override void RefreshValues()

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