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

HighlightObject

MethodLink โ†—
public static bool LokiPoe.Input.HighlightObject(int objId)

This function will move the mouse over a specific NetworkObject. This is a key function and must be used to loot, attack or interact with the game world. IMPORTANT: for WorldItems, on success (return true) the highlight/pickup key is intentionally LEFT PRESSED so the item stays highlighted for the caller's click. The CALLER is responsible for releasing the key after clicking. On failure (return false) the key state is cleaned up internally.

objIdint
The NetworkObject Id to highlight.

Returns: Return true if the object is successfully highlighted.

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.