Table of Contents

Class GameKeyOptionVM

Namespace
TaleWorlds.MountAndBlade.ViewModelCollection.GameOptions.GameKeys
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

gameKey GameKey
onKeybindRequest Action<KeyOptionVM>
onKeySet Action<GameKeyOptionVM, InputKey>

Properties

CurrentGameKey

public GameKey CurrentGameKey { get; }

Property Value

GameKey

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

newKey InputKey

Update()

public override void Update()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).