DPB2Class · Bots, plugins and tasks

Coroutines

Asynchronous helpers for timing, interaction and common game actions. Await these helpers within the bot workflow.

Namespace: DreamPoeBot.Loki.Bot

public static class Coroutines
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

FinishCurrentMoveAction

MethodLink ↗
public static Task Coroutines.FinishCurrentMoveAction(bool resetInput = true)

This function make sure we are not actually performing another move action, and if so, it wait till the end of that move action, or the default timeout (5000ms). You usually call this to make sure a previous move action you performed run to completition, before to perform another one.

Return type: TaskNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

True, if you want to reset all key state after the current action completed.

Returns: An asynchronous operation. Await it before reading the result or continuing the workflow.

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

DPB2 0.4.5.103 · 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.