DPB2Class · Interface and panels

WorldElement2

Provides world element2 data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Elements

public class WorldElement2
Reference: DPB2 0.4.5.103No matching type in the reviewed DPB1 catalog.

Use this API

Useful members available through base types — open a member to read its exact contract:

Members and overloads

9 declared here

Search includes inherited members below. 43 matching inherited members →

WorldElement2

MethodLink ↗
public WorldElement2.WorldElement2()

Creates a new WorldElement2 instance.

CaravanPins

PropertyLink ↗
public List<Element> WorldElement2.CaravanPins { get; }

Gets the caravan pins collection. Its element types are linked below.

Value type: List<Element>
Explore Element → members & methods

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.

CloseLegendElement

PropertyLink ↗
public Element WorldElement2.CloseLegendElement { get; }

Reads close legend element on WorldElement2 as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

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.

LegendElement

PropertyLink ↗
public Element WorldElement2.LegendElement { get; }

Reads legend element on WorldElement2 as Element. Open the value type below for its members and accepted values.

Value type: Element
Explore Element → members & methods

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.

WaypointPins2

PropertyLink ↗
public List<WorldElement2.WaypointPins> WorldElement2.WaypointPins2 { get; }

Gets the waypoint pins2 collection. Its element types are linked below.

Value type: List<No current DPB page is linked for this built-in, external, generic or compatibility-only type.

caravanmapPins

PropertyLink ↗
public List<Element> WorldElement2.caravanmapPins { get; }

Gets the caravanmap pins collection. Its element types are linked below.

Value type: List<Element>
Explore Element → members & methods

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.

mapPins

PropertyLink ↗
public List<Element> WorldElement2.mapPins { get; }

Gets the map pins collection. Its element types are linked below.

Value type: List<Element>
Explore Element → members & methods

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.

waypointPins

PropertyLink ↗
public List<Element> WorldElement2.waypointPins { get; }

Gets the waypoint pins collection. Its element types are linked below.

Value type: List<Element>
Explore Element → members & methods

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.

Inherited members and contracts

43 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

public string Element.Text2 { get; } Declared by Element

Secondary text; null when empty, whitespace-only or unreadable.

public void Element.ToggleVisibility() Declared by Element

Calls ToggleVisibility on Element without arguments. This overload has no return value.

public Element Element.Tooltip { get; } Declared by Element

Reads tooltip on Element as Element. Open the value type below for its members and accepted values.

public List<Element> Element.Tooltips { get; } Declared by Element

Gets the tooltips collection. Its element types are linked below.

public bool Element.TryGetSize(out Vector2 size) Declared by Element

Attempts the existing +270 geometry field; false means an actual absent/invalid read.

public bool Element.TryGetText(out string text) Declared by Element

Attempts to read the primary text field.

public float Element.Width { get; } Declared by Element

Reads width on Element as float. The exact type and accessors are shown below.

public void Element.WriteVisibleFlag(int flag) Declared by Element

Writes visible flag using the supplied arguments.

public float Element.X { get; } Declared by Element

Reads x on Element as float. The exact type and accessors are shown below.

public long Element.XAddress { get; } Declared by Element

Reads xaddress on Element as long. The exact type and accessors are shown below.

public float Element.Y { get; } Declared by Element

Reads y on Element as float. The exact type and accessors are shown below.

public long Element.YAddress { get; } Declared by Element

Reads yaddress on Element as long. The exact type and accessors are shown below.

public long Element.zoomAddress { get; } Declared by Element

Reads zoom address on Element as long. The exact type and accessors are shown below.

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.