Table of Contents

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

GameKey

HotKey

public HotKey HotKey { get; }

Property Value

HotKey

IsVisible

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

Property Value

bool

KeyID

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

Property Value

string

KeyName

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

Property Value

string

Methods

CreateFromForcedID(string, TextObject, bool)

public static InputKeyItemVM CreateFromForcedID(string forcedID, TextObject forcedName, bool isConsoleOnly)

Parameters

forcedID string
forcedName TextObject
isConsoleOnly bool

Returns

InputKeyItemVM

CreateFromGameKey(GameKey, bool)

public static InputKeyItemVM CreateFromGameKey(GameKey gameKey, bool isConsoleOnly)

Parameters

gameKey GameKey
isConsoleOnly bool

Returns

InputKeyItemVM

CreateFromGameKeyWithForcedName(GameKey, TextObject, bool)

public static InputKeyItemVM CreateFromGameKeyWithForcedName(GameKey gameKey, TextObject forcedName, bool isConsoleOnly)

Parameters

gameKey GameKey
forcedName TextObject
isConsoleOnly bool

Returns

InputKeyItemVM

CreateFromHotKey(HotKey, bool)

public static InputKeyItemVM CreateFromHotKey(HotKey hotKey, bool isConsoleOnly)

Parameters

hotKey HotKey
isConsoleOnly bool

Returns

InputKeyItemVM

CreateFromHotKeyWithForcedName(HotKey, TextObject, bool)

public static InputKeyItemVM CreateFromHotKeyWithForcedName(HotKey hotKey, TextObject forcedName, bool isConsoleOnly)

Parameters

hotKey HotKey
forcedName TextObject
isConsoleOnly bool

Returns

InputKeyItemVM

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).