public Element.Element()
Creates a new Element instance.
UI element with the original short-lived DPB field caches.
Namespace: DreamPoeBot.Loki
public class ElementView DPB1 version →public Element.Element()
Creates a new Element instance.
public Vector2i Element.CenterClickLocation()
Executes the center click location operation.
Returns: The Vector2i result.
public string Element.Dump()
Executes the dump operation.
Returns: The string result.
public Element Element.FindElementWithTooltipText(string text, bool ignoreVisibility = false)
Finds element with tooltip text using the supplied arguments.
textstringignoreVisibilityboolReturns: The Element result.
public List<Element> Element.FindElementsWithTextInElementChildrens(string text, ref List<Element> refElementList)
Finds elements with text in element childrens using the supplied arguments.
textstringrefElementListList<Element>Returns: The List<Element> result.
public Element Element.FindIdLabelInElementChildrens(string text)
Finds id label in element childrens using the supplied arguments.
textstringReturns: The Element result.
public Element Element.FindTextInElementChildrens(string text)
Finds text in element childrens using the supplied arguments.
textstringReturns: The Element result.
public Element Element.GetChildAtIndex(int index)
Returns child at index using the supplied arguments.
indexintReturns: The Element result.
public Element Element.GetChildFromIndices(params int[] indices)
Returns child from indices using the supplied arguments.
indicesint[]Returns: The Element result.
protected List<T> Element.GetChildren<T>() where T : Element, new()
Returns children.
Returns: The List<T> result.
public virtual RectangleF Element.GetClientRect()
Returns client rect.
Returns: The RectangleF result.
public Vector2 Element.GetParentPos()
Returns parent pos.
Returns: The Vector2 result.
public bool Element.IsInFOV(float pct)
Checks whether in fov using the supplied arguments.
pctfloatReturns: A Boolean result. The member description explains the condition being checked.
public void Element.SetZoom(float zoom)
Sets zoom using the supplied arguments.
zoomfloatpublic void Element.ToggleVisibility()
Executes the toggle visibility operation.
public bool Element.TryGetSize(out Vector2 size)
Attempts the existing +270 geometry field; false means an actual absent/invalid read.
sizeVector2Returns: True when the request succeeds; read any out parameters only after checking the result.
public bool Element.TryGetText(out string text)
Attempts to read the primary text field.
textstringReturns: True when the request succeeds; read any out parameters only after checking the result.
public void Element.WriteVisibleFlag(int flag)
Writes visible flag using the supplied arguments.
flagintpublic long Element.ChildCount { get; }
Gets child count for Element.
public List<Element> Element.Children { get; }
Gets the children collection. Its element types are linked below.
public int Element.ControlType { get; }
Gets control type for Element.
public float Element.DeltaX { get; }
Gets delta x for Element.
public float Element.DeltaY { get; }
Gets delta y for Element.
public float Element.ElementZoom { get; }
Gets element zoom for Element.
public GuiControlType Element.GuiControlType { get; }
Gets gui control type for Element.
public float Element.Height { get; }
Gets height for Element.
public string Element.IdLabel { get; }
Gets id label for Element.
public bool Element.IsEnable { get; }
Whether this element is enable.
public bool Element.IsItemTransparent { get; }
Whether this element is item transparent.
public override bool Element.IsValid { get; }
Whether this element is valid.
DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.