Class GameKeyOptionVM
- Assembly
- TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class GameKeyOptionVM : KeyOptionVM, IViewModel, INotifyPropertyChanged
- Inheritance
-
GameKeyOptionVM
- Implements
- Inherited Members
Constructors
GameKeyOptionVM(GameKey, Action<KeyOptionVM>, Action<GameKeyOptionVM, InputKey>)
public GameKeyOptionVM(GameKey gameKey, Action<KeyOptionVM> onKeybindRequest, Action<GameKeyOptionVM, InputKey> onKeySet)
Parameters
gameKeyGameKeyonKeybindRequestAction<KeyOptionVM>onKeySetAction<GameKeyOptionVM, InputKey>
Properties
CurrentGameKey
public GameKey CurrentGameKey { get; }
Property Value
Methods
Apply()
public void Apply()
OnDone()
public override void OnDone()
RefreshValues()
public override void RefreshValues()
Revert()
public void Revert()
Set(InputKey)
public override void Set(InputKey newKey)
Parameters
newKeyInputKey
Update()
public override void Update()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).