DPB2Class · Interface and panels

InventorySlotUiElement

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

Namespace: DreamPoeBot.Loki.Elements

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

12 declared here

Search includes inherited members below. 43 matching inherited members →

slotsize

FieldLink ↗
public float InventorySlotUiElement.slotsize

Reads or assigns slotsize on InventorySlotUiElement 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.

InventorySlotUiElement

MethodLink ↗
public InventorySlotUiElement.InventorySlotUiElement()

Creates a new InventorySlotUiElement instance.

RewardSlotClickLocation

MethodLink ↗
public Vector2i InventorySlotUiElement.RewardSlotClickLocation(Vector2i slot)

Calls RewardSlotClickLocation on InventorySlotUiElement with slot and returns Vector2i. Open the return contract below before using the result.

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

slot

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: The Vector2i result.

SetStashType

MethodLink ↗
public void InventorySlotUiElement.SetStashType(StashType stashType)

Calls SetStashType on InventorySlotUiElement with stashType. This overload has no return value.

Return type: voidNo return value.

Parameters

stashType

Specifies stash type.

SlotClickLocation

MethodLink ↗
public Vector2i InventorySlotUiElement.SlotClickLocation(Vector2i slot)

Calls SlotClickLocation on InventorySlotUiElement with slot and returns Vector2i. Open the return contract below before using the result.

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

slot

Specifies slot.

Returns: The Vector2i result.

DictionaryIdElements

PropertyLink ↗
public Dictionary<int, Element> InventorySlotUiElement.DictionaryIdElements { get; }

Gets the dictionary id elements collection. Its element types are linked below.

Value type: Dictionary<int, 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.

ItemsCount

PropertyLink ↗
public int InventorySlotUiElement.ItemsCount { get; }

Reads items count on InventorySlotUiElement as int. The exact type and accessors are shown below.

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

PlacementGraph

PropertyLink ↗
public Dictionary<Vector2i, Item> InventorySlotUiElement.PlacementGraph { get; }

Gets the placement graph collection. Its element types are linked below.

Value type: Dictionary<Vector2i, Item>
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.

Explore Item → members & methods

Read an item's identity, rarity, stack and other properties. Use its owning inventory or interface API for item actions.

RewardLocationTopLeft

PropertyLink ↗
public Vector2i InventorySlotUiElement.RewardLocationTopLeft { get; }

Reads reward location top left on InventorySlotUiElement as Vector2i. Open the value type below for its members and accepted values.

Value 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.

SocketDictionary

PropertyLink ↗
public Dictionary<Vector2i, Dictionary<int, Vector2i>> InventorySlotUiElement.SocketDictionary { get; }

Gets the socket dictionary collection. Its element types are linked below.

Value type: Dictionary<Vector2i, Dictionary<int, 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.

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.