Class InputKeyItemVM
- Namespace
- TaleWorlds.CampaignSystem.ViewModelCollection.Input
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class InputKeyItemVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
InputKeyItemVM
- Implements
- Inherited Members
Properties
GameKey
public GameKey GameKey { get; }
Property Value
HotKey
public HotKey HotKey { get; }
Property Value
IsVisible
[DataSourceProperty]
public bool IsVisible { get; set; }
Property Value
KeyID
[DataSourceProperty]
public string KeyID { get; set; }
Property Value
KeyName
[DataSourceProperty]
public string KeyName { get; set; }
Property Value
Methods
CreateFromForcedID(string, TextObject, bool)
public static InputKeyItemVM CreateFromForcedID(string forcedID, TextObject forcedName, bool isConsoleOnly)
Parameters
forcedID
stringforcedName
TextObjectisConsoleOnly
bool
Returns
CreateFromGameKey(GameKey, bool)
public static InputKeyItemVM CreateFromGameKey(GameKey gameKey, bool isConsoleOnly)
Parameters
Returns
CreateFromGameKeyWithForcedName(GameKey, TextObject, bool)
public static InputKeyItemVM CreateFromGameKeyWithForcedName(GameKey gameKey, TextObject forcedName, bool isConsoleOnly)
Parameters
gameKey
GameKeyforcedName
TextObjectisConsoleOnly
bool
Returns
CreateFromHotKey(HotKey, bool)
public static InputKeyItemVM CreateFromHotKey(HotKey hotKey, bool isConsoleOnly)
Parameters
Returns
CreateFromHotKeyWithForcedName(HotKey, TextObject, bool)
public static InputKeyItemVM CreateFromHotKeyWithForcedName(HotKey hotKey, TextObject forcedName, bool isConsoleOnly)
Parameters
hotKey
HotKeyforcedName
TextObjectisConsoleOnly
bool
Returns
OnFinalize()
public override void OnFinalize()
RefreshValues()
public override void RefreshValues()
SetForcedVisibility(bool?)
public void SetForcedVisibility(bool? isVisible)
Parameters
isVisible
bool?
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).