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
BasicCharacterObjectbanner
BanneronExit
Action<bool>refresh
ActioncurrentStageIndex
inttotalStagesCount
intfurthestIndex
intgoToIndex
Action<int>
Fields
CurrentShieldIndex
public int CurrentShieldIndex
Field Value
ShieldRosterElement
public ItemRosterElement ShieldRosterElement
Field Value
ShieldSlotIndex
public int ShieldSlotIndex
Field Value
Properties
BannerVM
[DataSourceProperty]
public BannerViewModel BannerVM { get; set; }
Property Value
CanChangeBackgroundColor
[DataSourceProperty]
public bool CanChangeBackgroundColor { get; set; }
Property Value
CancelInputKey
[DataSourceProperty]
public InputKeyItemVM CancelInputKey { get; set; }
Property Value
CancelText
[DataSourceProperty]
public string CancelText { get; set; }
Property Value
CategoryNames
[DataSourceProperty]
public MBBindingList<HintViewModel> CategoryNames { get; set; }
Property Value
Character
public BasicCharacterObject Character { get; }
Property Value
ColorCodes
[DataSourceProperty]
public string ColorCodes { get; set; }
Property Value
CurrentIconSize
[DataSourceProperty]
public int CurrentIconSize { get; set; }
Property Value
CurrentShieldName
[DataSourceProperty]
public string CurrentShieldName { get; set; }
Property Value
CurrentStageIndex
[DataSourceProperty]
public int CurrentStageIndex { get; set; }
Property Value
Description
[DataSourceProperty]
public string Description { get; set; }
Property Value
DoneInputKey
[DataSourceProperty]
public InputKeyItemVM DoneInputKey { get; set; }
Property Value
DoneText
[DataSourceProperty]
public string DoneText { get; set; }
Property Value
FurthestIndex
[DataSourceProperty]
public int FurthestIndex { get; set; }
Property Value
IconCodes
[DataSourceProperty]
public string IconCodes { get; set; }
Property Value
IconsList
[DataSourceProperty]
public MBBindingList<BannerIconVM> IconsList { get; set; }
Property Value
MaxIconSize
[DataSourceProperty]
public int MaxIconSize { get; set; }
Property Value
MinIconSize
[DataSourceProperty]
public int MinIconSize { get; set; }
Property Value
PrimaryColorList
[DataSourceProperty]
public MBBindingList<BannerColorVM> PrimaryColorList { get; set; }
Property Value
PrimaryColorText
[DataSourceProperty]
public string PrimaryColorText { get; set; }
Property Value
RandomizeHint
[DataSourceProperty]
public HintViewModel RandomizeHint { get; set; }
Property Value
RedoHint
[DataSourceProperty]
public HintViewModel RedoHint { get; set; }
Property Value
ResetHint
[DataSourceProperty]
public HintViewModel ResetHint { get; set; }
Property Value
SigilColorList
[DataSourceProperty]
public MBBindingList<BannerColorVM> SigilColorList { get; set; }
Property Value
SigilColorText
[DataSourceProperty]
public string SigilColorText { get; set; }
Property Value
SizeText
[DataSourceProperty]
public string SizeText { get; set; }
Property Value
Title
[DataSourceProperty]
public string Title { get; set; }
Property Value
TotalStageCount
[DataSourceProperty]
public int TotalStageCount { get; set; }
Property Value
UndoHint
[DataSourceProperty]
public HintViewModel UndoHint { get; set; }
Property Value
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).