Table of Contents

Class BannerEditorVM

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

Constructors

BannerEditorVM(BasicCharacterObject, Banner, Action<bool>, Action, int, int, int, Action<int>)

public BannerEditorVM(BasicCharacterObject character, Banner banner, Action<bool> onExit, Action refresh, int currentStageIndex, int totalStagesCount, int furthestIndex, Action<int> goToIndex)

Parameters

character BasicCharacterObject
banner Banner
onExit Action<bool>
refresh Action
currentStageIndex int
totalStagesCount int
furthestIndex int
goToIndex Action<int>

Fields

CurrentShieldIndex

public int CurrentShieldIndex

Field Value

int

ShieldRosterElement

public ItemRosterElement ShieldRosterElement

Field Value

ItemRosterElement

ShieldSlotIndex

public int ShieldSlotIndex

Field Value

int

Properties

BannerVM

[DataSourceProperty]
public BannerViewModel BannerVM { get; set; }

Property Value

BannerViewModel

CanChangeBackgroundColor

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

Property Value

bool

CancelInputKey

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

Property Value

InputKeyItemVM

CancelText

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

Property Value

string

CategoryNames

[DataSourceProperty]
public MBBindingList<HintViewModel> CategoryNames { get; set; }

Property Value

MBBindingList<HintViewModel>

Character

public BasicCharacterObject Character { get; }

Property Value

BasicCharacterObject

ColorCodes

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

Property Value

string

CurrentIconSize

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

Property Value

int

CurrentShieldName

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

Property Value

string

CurrentStageIndex

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

Property Value

int

Description

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

Property Value

string

DoneInputKey

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

Property Value

InputKeyItemVM

DoneText

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

Property Value

string

FurthestIndex

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

Property Value

int

IconCodes

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

Property Value

string

IconsList

[DataSourceProperty]
public MBBindingList<BannerIconVM> IconsList { get; set; }

Property Value

MBBindingList<BannerIconVM>

MaxIconSize

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

Property Value

int

MinIconSize

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

Property Value

int

PrimaryColorList

[DataSourceProperty]
public MBBindingList<BannerColorVM> PrimaryColorList { get; set; }

Property Value

MBBindingList<BannerColorVM>

PrimaryColorText

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

Property Value

string

RandomizeHint

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

Property Value

HintViewModel

RedoHint

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

Property Value

HintViewModel

ResetHint

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

Property Value

HintViewModel

SigilColorList

[DataSourceProperty]
public MBBindingList<BannerColorVM> SigilColorList { get; set; }

Property Value

MBBindingList<BannerColorVM>

SigilColorText

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

Property Value

string

SizeText

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

Property Value

string

Title

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

Property Value

string

TotalStageCount

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

Property Value

int

UndoHint

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

Property Value

HintViewModel

Methods

ExecuteCancel()

public void ExecuteCancel()

ExecuteDone()

public void ExecuteDone()

ExecuteGoToIndex(int)

public void ExecuteGoToIndex(int index)

Parameters

index int

ExecuteSwitchColors()

public void ExecuteSwitchColors()

OnFinalize()

public override void OnFinalize()

RefreshValues()

public override void RefreshValues()

SetCancelInputKey(HotKey)

public void SetCancelInputKey(HotKey hotKey)

Parameters

hotKey HotKey

SetClanRelatedRules(bool)

public void SetClanRelatedRules(bool canChangeBackgroundColor)

Parameters

canChangeBackgroundColor bool

SetDoneInputKey(HotKey)

public void SetDoneInputKey(HotKey hotKey)

Parameters

hotKey HotKey

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