MenuKeybindOverrides
Struct MenuKeybindOverrides
Namespace: SwiftlyS2.Shared.Menus
Assembly: SwiftlyS2.CS2.dll
Custom key bindings for menu actions. Each property can be set to override the default bindings, or left null to use defaults.
public readonly record struct MenuKeybindOverrides : IEquatable<MenuKeybindOverrides>Implements
Inherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Remarks
NOTE: For WASD input mode, any key binding overrides will not take effect.
Properties
Exit
Key binding for closing the menu.
public KeyBind? Exit { get; init; }Property Value
Move
Key binding for moving forward through menu options.
public KeyBind? Move { get; init; }Property Value
MoveBack
Key binding for moving backward through menu options.
public KeyBind? MoveBack { get; init; }Property Value
Select
Key binding for selecting or activating the highlighted menu option.
public KeyBind? Select { get; init; }Property Value