Show / Hide Table of Contents

Class HotkeySequence

Inheritance
Object
HotkeySequence
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class HotkeySequence

Constructors

| Improve this Doc View Source

HotkeySequence(KeyCode, HotkeySequence.KeyModifiers, Boolean)

Declaration
public HotkeySequence(KeyCode keyCode, HotkeySequence.KeyModifiers modifiers, bool useSecondary = false)
Parameters
Type Name Description
KeyCode keyCode
HotkeySequence.KeyModifiers modifiers
Boolean useSecondary

Fields

| Improve this Doc View Source

expectedSyntax

Declaration
public static readonly string expectedSyntax
Field Value
Type Description
String
| Improve this Doc View Source

None

Declaration
public static HotkeySequence None
Field Value
Type Description
HotkeySequence
| Improve this Doc View Source

virtualKeys

Declaration
public const HotkeySequence.KeyModifiers virtualKeys = HotkeySequence.KeyModifiers.Ctrl | HotkeySequence.KeyModifiers.Shift | HotkeySequence.KeyModifiers.Alt
Field Value
Type Description
HotkeySequence.KeyModifiers

Methods

| Improve this Doc View Source

CheckSetModifiers(HotkeySequence.KeyModifiers, HotkeySequence.KeyModifiers)

Declaration
public static bool CheckSetModifiers(HotkeySequence.KeyModifiers pressedModifiers, HotkeySequence.KeyModifiers triggeringModifiers)
Parameters
Type Name Description
HotkeySequence.KeyModifiers pressedModifiers
HotkeySequence.KeyModifiers triggeringModifiers
Returns
Type Description
Boolean
| Improve this Doc View Source

FromString(String)

Declaration
public static HotkeySequence FromString(string hotkeyName)
Parameters
Type Name Description
String hotkeyName
Returns
Type Description
HotkeySequence
| Improve this Doc View Source

GetKeyboardKeyModifiers()

Declaration
public static HotkeySequence.KeyModifiers GetKeyboardKeyModifiers()
Returns
Type Description
HotkeySequence.KeyModifiers
| Improve this Doc View Source

GetKeyModifiers(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Declaration
public static HotkeySequence.KeyModifiers GetKeyModifiers(bool leftControl, bool rightControl, bool leftShift, bool rightShift, bool leftAlt, bool rightAlt)
Parameters
Type Name Description
Boolean leftControl
Boolean rightControl
Boolean leftShift
Boolean rightShift
Boolean leftAlt
Boolean rightAlt
Returns
Type Description
HotkeySequence.KeyModifiers
| Improve this Doc View Source

IsDown()

Declaration
public bool IsDown()
Returns
Type Description
Boolean
| Improve this Doc View Source

IsDownWith(HotkeySequence.KeyModifiers)

Declaration
public bool IsDownWith(HotkeySequence.KeyModifiers pressedModifiers)
Parameters
Type Name Description
HotkeySequence.KeyModifiers pressedModifiers
Returns
Type Description
Boolean
| Improve this Doc View Source

IsPressed()

Declaration
public bool IsPressed()
Returns
Type Description
Boolean
| Improve this Doc View Source

IsPressedWith(HotkeySequence.KeyModifiers)

Declaration
public bool IsPressedWith(HotkeySequence.KeyModifiers pressedModifiers)
Parameters
Type Name Description
HotkeySequence.KeyModifiers pressedModifiers
Returns
Type Description
Boolean
| Improve this Doc View Source

IsSameKeyCode(KeyCode)

Declaration
public bool IsSameKeyCode(KeyCode otherKeyCode)
Parameters
Type Name Description
KeyCode otherKeyCode
Returns
Type Description
Boolean
| Improve this Doc View Source

IsUp()

Declaration
public bool IsUp()
Returns
Type Description
Boolean
| Improve this Doc View Source

IsUpWith(HotkeySequence.KeyModifiers)

Declaration
public bool IsUpWith(HotkeySequence.KeyModifiers pressedModifiers)
Parameters
Type Name Description
HotkeySequence.KeyModifiers pressedModifiers
Returns
Type Description
Boolean
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()
| Improve this Doc View Source

WithKeyCode(KeyCode)

Declaration
public HotkeySequence WithKeyCode(KeyCode newKeyCode)
Parameters
Type Name Description
KeyCode newKeyCode
Returns
Type Description
HotkeySequence
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX