DPB1Class · Game state and actions

LokiPoe.Input

Class to interact with the game using keyboard.

Namespace: DreamPoeBot.Loki.Game

public class LokiPoe.Input
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

1 declared here
Show all members

PasteText

MethodLink ↗
public static void LokiPoe.Input.PasteText(string msg, bool useSend)

Paste a specific text into a text field.

Return type: voidNo return value.

Parameters

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

The text to paste.

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

If true, SendMessage will be used instead of PostMessage, it is a little more slower, but 100% garantee the message to be fully inserted, while PostMessage is fast, but might fail on low fps, or overloaded cpu scenarios.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

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.