DPB2Class ยท Game state and actions

LokiPoe.Input

Class to interact with the game using keyboard.

Namespace: DreamPoeBot.Loki.Game

public class LokiPoe.InputView DPB1 version โ†’

Members and overloads

1 results
Show all members

GetKeyForAction

MethodLink โ†—
public static bool LokiPoe.Input.GetKeyForAction(string action, out Keys key)

Retrieve the currently configured key for a specifig game action. the string passed must be in the same exact form as show in the game options. Ex: "Atlas Screen", "Pantheon Panel", "Attack in place". PLEASE NOTE: even if this is supposed to work even with customized key setup, I strongly sugest you to keep the DEFAULT key setup to ensure the bot work.

actionstring
The option you want to retrieve the key for.
keyKeys
The key configured for this option.

Returns: True on success.

Related types

DPB2 0.4.5.88 ยท 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.