DPB2Class · Interface and panels

MapElement

Reads map element state and exposes the listed interface operations. Check visibility before using panel-specific values or actions.

Namespace: DreamPoeBot.Loki.Elements

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

Use this API

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

Members and overloads

23 declared here

Search includes inherited members below. 43 matching inherited members →

CameraAngle

FieldLink ↗
public const double MapElement.CameraAngle = 0.6754424205218056

Reads camera angle on MapElement as double. The exact type and accessors are shown below.

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

CameraAngleCos

FieldLink ↗
public static readonly float MapElement.CameraAngleCos

Reads camera angle cos on MapElement as float. The exact type and accessors are shown below.

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

CameraAngleSin

FieldLink ↗
public static readonly float MapElement.CameraAngleSin

Reads camera angle sin on MapElement as float. The exact type and accessors are shown below.

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

MapElement

MethodLink ↗
public MapElement.MapElement()

Creates a new MapElement instance.

IsMapModPanelVisibleAndExpanded

PropertyLink ↗
public bool MapElement.IsMapModPanelVisibleAndExpanded { get; }

Whether this map element is map mod panel visible and expanded.

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

LargeMap

PropertyLink ↗
public Element MapElement.LargeMap { get; }

Reads large map on MapElement 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.

LargeMapCenter

PropertyLink ↗
public float MapElement.LargeMapCenter { get; }

Reads large map center on MapElement as float. The exact type and accessors are shown below.

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

LargeMapDefaultShiftX

PropertyLink ↗
public float MapElement.LargeMapDefaultShiftX { get; }

Reads large map default shift x on MapElement as float. The exact type and accessors are shown below.

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

LargeMapDefaultShiftY

PropertyLink ↗
public float MapElement.LargeMapDefaultShiftY { get; }

Reads large map default shift y on MapElement as float. The exact type and accessors are shown below.

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

LargeMapScale

PropertyLink ↗
public float MapElement.LargeMapScale { get; }

Reads large map scale on MapElement as float. The exact type and accessors are shown below.

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

LargeMapShiftX

PropertyLink ↗
public float MapElement.LargeMapShiftX { get; }

Reads large map shift x on MapElement as float. The exact type and accessors are shown below.

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

LargeMapShiftY

PropertyLink ↗
public float MapElement.LargeMapShiftY { get; }

Reads large map shift y on MapElement as float. The exact type and accessors are shown below.

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

LargeMapZoom

PropertyLink ↗
public float MapElement.LargeMapZoom { get; }

Reads large map zoom on MapElement as float. The exact type and accessors are shown below.

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

MapCompleteElement

PropertyLink ↗
public Element MapElement.MapCompleteElement { get; }

Reads map complete element on MapElement 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.

MapModPanelButton

PropertyLink ↗
public Element MapElement.MapModPanelButton { get; }

Reads map mod panel button on MapElement 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.

SmallMap

PropertyLink ↗
public Element MapElement.SmallMap { get; }

Reads small map on MapElement 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.

SmallMapDefaultShiftX

PropertyLink ↗
public float MapElement.SmallMapDefaultShiftX { get; }

Reads small map default shift x on MapElement as float. The exact type and accessors are shown below.

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

SmallMapDefaultShiftY

PropertyLink ↗
public float MapElement.SmallMapDefaultShiftY { get; }

Reads small map default shift y on MapElement as float. The exact type and accessors are shown below.

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

SmallMapShiftX

PropertyLink ↗
public float MapElement.SmallMapShiftX { get; }

Reads small map shift x on MapElement as float. The exact type and accessors are shown below.

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

SmallMapShiftY

PropertyLink ↗
public float MapElement.SmallMapShiftY { get; }

Reads small map shift y on MapElement as float. The exact type and accessors are shown below.

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

SmallMapZoom

PropertyLink ↗
public float MapElement.SmallMapZoom { get; }

Reads small map zoom on MapElement as float. The exact type and accessors are shown below.

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

ZoneDescription

PropertyLink ↗
public string MapElement.ZoneDescription { get; }

Reads zone description on MapElement as string. The exact type and accessors are shown below.

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

ZoneDescriptionElement

PropertyLink ↗
public Element MapElement.ZoneDescriptionElement { get; }

Reads zone description element on MapElement 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.

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.