DPB2Class ยท Interface and panels

LokiPoe.InGameState.SkillsUi

This class let you interact and retrieve info about the Passive Skills panel.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.InGameState.SkillsUiView DPB1 version โ†’

Members and overloads

1 results
Show all members

SocketPassiveGem

MethodLink โ†—
public static LokiPoe.InGameState.SocketPassiveGemError LokiPoe.InGameState.SkillsUi.SocketPassiveGem(ushort id, Func<bool> condition)

This method let you socket a passive Gem into a passive socket, the `condition` parameter is there to help you understand if the function succeded. you should pass as condition, a check over the mouse item, so that if the mouse still has the same item after the function completed, the result will indicate a error while if the mouse dont have a item anymore, or the item changed (you replaced a gem that was already socketed), the function succede and the gem is been socketed.

idushort
The id of the passive point.
conditionFunc<bool>
A function that check the mouse item and ensure it's not the same item as before the function was called, or no items at all.

Returns: SocketPassiveGemError.None on success, or the relative error.

Related types

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.