DPB2Class · Interface and panels

LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry

An equipped gem and its row in the G panel. Reacquire after UI or inventory changes.

Namespace: DreamPoeBot.Loki.Game

public class LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry
Reference: DPB2 0.4.5.103No matching type in the reviewed DPB1 catalog.

Members and overloads

7 declared here

BringIntoView

MethodLink ↗
public bool LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry.BringIntoView(int socketIndex = -1)

Scroll the main gem (-1) or a support socket (zero-based) into view, without clicking. Uses the existing scrollbar wheel mechanism. Returns false if hooks are disabled, the binding changes, or the target cannot be made visible within three seconds.

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

Parameters

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

Specifies socket index. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

SetActive

MethodLink ↗
public bool LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry.SetActive(bool enabled)

Activate/deactivate this persistent gem with at most one randomised right-click, scrolling first when needed. Requires the G panel open and an empty cursor. Returns true only when the requested state is observed (including an unchanged state). False also covers unmet game requirements; it never repeatedly toggles the gem.

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

Parameters

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

Specifies enabled.

Returns: A Boolean result. The member description explains the condition being checked.

CanToggle

PropertyLink ↗
public bool LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry.CanToggle { get; }

Whether the open panel exposes persistent activation for this gem. Does not guarantee sufficient Spirit or other activation requirements.

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

Element

PropertyLink ↗
public Element LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry.Element { get; }

The main gem icon; coordinates can lie outside the scroll viewport.

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.

IsActive

PropertyLink ↗
public bool? LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry.IsActive { get; }

Current enabled state shown by the open gem panel, or null for a stale, unsupported or unavailable gem. This is not a guarantee the buff is taking effect.

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

SupportSockets

PropertyLink ↗
public IReadOnlyList<Element> LokiPoe.InGameState.SkillGemPanelUi.SkillGemEntry.SupportSockets { get; }

Support socket controls in zero-based order; they can lie outside the scroll viewport.

Value type: IReadOnlyList<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.

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.