DPB1Class · Game state and actions

Element

A game-interface element. Inspect text, visibility, geometry and child elements; follow the individual members for their signatures and result types. Prefer a named panel wrapper when one is available.

Namespace: DreamPoeBot.Loki

public class Element
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

CenterClickLocation

MethodLink ↗
public Vector2i Element.CenterClickLocation(double min = 0.20000000298023224, double max = 0.800000011920929)

Calculates a randomized point within this element using its geometry. Despite the name, this method does not send a click. Check the current UI state before passing a coordinate to an input API; consult this overload's parameters for its sampling bounds.

Return type: Vector2i
Explore Vector2i → members & methods

A two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.

Parameters

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

a value between 1 and 0 multiplayed width and height to reduce the search boundry

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

a value between 1 and 0 multiplayed width and height to reduce the search boundry

Returns: The Vector2i result.

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.