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 Hotkeys
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

4 declared here

Register

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

Calls Register on Hotkeys with name, key, modifierKeys, callback and returns Hotkey. Open the return contract below before using the result.

Return type: Hotkey
Explore Hotkey → members & methods

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

Parameters

name
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies name.

key
Parameter type: KeysNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies key.

modifierKeys
Parameter type: ModifierKeys

Specifies modifier keys.

callback
Parameter type: Action<Hotkey>

Specifies callback.

Returns: The Hotkey result.

Unregister

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

Calls Unregister on Hotkeys with hotkey. This overload has no return value.

Return type: voidNo return value.

Parameters

hotkey

Specifies hotkey.

Unregister

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

Calls Unregister on Hotkeys with name. This overload has no return value.

Return type: voidNo return value.

Parameters

name
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies name.

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