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.SkillsUi
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
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.

Return type: LokiPoe.InGameState.SocketPassiveGemError
Explore LokiPoe.InGameState.SocketPassiveGemError → members & methods

Named values for socket passive gem error. Select a value when an API accepts or returns SocketPassiveGemError.

Parameters

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

The id of the passive point.

condition
Parameter type: Func<bool>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

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.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

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.