DPB1Class · Utilities and settings

Hotkeys

Provides hotkeys data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public static class HotkeysView DPB2 version →

Members and overloads

4 results

Register

MethodLink ↗
public static Hotkey Hotkeys.Register(string name, Keys key, ModifierKeys modifierKeys, Action<Hotkey> callback)

Executes the register operation with the supplied arguments.

namestring
Specifies name.
keyKeys
Specifies key.
modifierKeysModifierKeys
Specifies modifier keys.
callbackAction<Hotkey>
Specifies callback.

Returns: The Hotkey result.

Unregister

MethodLink ↗
public static void Hotkeys.Unregister(Hotkey hotkey)

Executes the unregister operation with the supplied arguments.

hotkeyHotkey
Specifies hotkey.

Unregister

MethodLink ↗
public static void Hotkeys.Unregister(string name)

Executes the unregister operation with the supplied arguments.

namestring
Specifies name.

RegisteredHotkeys

PropertyLink ↗
public static IEnumerable<Hotkey> Hotkeys.RegisteredHotkeys { get; }

Gets the registered hotkeys collection. Its element types are linked below.

DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.