Class GenericOptionDataVM
- Assembly
- TaleWorlds.MountAndBlade.ViewModelCollection.dll
public abstract class GenericOptionDataVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
GenericOptionDataVM
- Implements
- Derived
- Inherited Members
Constructors
GenericOptionDataVM(OptionsVM, IOptionData, TextObject, TextObject, OptionsDataType)
protected GenericOptionDataVM(OptionsVM optionsVM, IOptionData option, TextObject name, TextObject description, OptionsVM.OptionsDataType typeID)
Parameters
optionsVM
OptionsVMoption
IOptionDataname
TextObjectdescription
TextObjecttypeID
OptionsVM.OptionsDataType
Fields
Option
protected IOptionData Option
Field Value
_optionsVM
protected OptionsVM _optionsVM
Field Value
Properties
Description
[DataSourceProperty]
public string Description { get; set; }
Property Value
Hint
[DataSourceProperty]
public HintViewModel Hint { get; set; }
Property Value
ImageIDs
[DataSourceProperty]
public string[] ImageIDs { get; set; }
Property Value
- string[]
IsAction
public bool IsAction { get; }
Property Value
IsEnabled
[DataSourceProperty]
public bool IsEnabled { get; set; }
Property Value
IsNative
public bool IsNative { get; }
Property Value
Name
[DataSourceProperty]
public string Name { get; set; }
Property Value
OptionTypeID
[DataSourceProperty]
public int OptionTypeID { get; set; }
Property Value
Methods
ApplyValue()
public abstract void ApplyValue()
Cancel()
public abstract void Cancel()
GetOptionData()
public IOptionData GetOptionData()
Returns
GetOptionType()
public object GetOptionType()
Returns
IsChanged()
public abstract bool IsChanged()
Returns
RefreshValues()
public override void RefreshValues()
ResetData()
public abstract void ResetData()
ResetToDefault()
public void ResetToDefault()
SetValue(float)
public abstract void SetValue(float value)
Parameters
value
float
UpdateData(bool)
public virtual void UpdateData(bool initUpdate)
Parameters
initUpdate
bool
UpdateEnableState()
public void UpdateEnableState()
UpdateValue()
public abstract void UpdateValue()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).