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

23 declared here

CanBeAllocate

MethodLink ↗
public static bool LokiPoe.InGameState.SkillsUi.CanBeAllocate(ushort id)

Return true if the passive can be allocated.

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

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.

Returns: true if the passive can be allocated.

CanBeRemoved

MethodLink ↗
public static bool LokiPoe.InGameState.SkillsUi.CanBeRemoved(ushort id)

Return true if the passive can be removed.

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

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.

Returns: true if the passive can be removed.

ChoosePassive

MethodLink ↗
public static LokiPoe.InGameState.ChoosePassiveError LokiPoe.InGameState.SkillsUi.ChoosePassive(ushort id, LokiPoe.InGameState.SkillsUi.AttributeEnum attribute = LokiPoe.InGameState.SkillsUi.AttributeEnum.Strength)

This function let you allocate a passive point. Remember to ConfirmOperation() once done.

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

Named values for choose passive error. Select a value when an API accepts or returns ChoosePassiveError.

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.

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

AttributeEnum rapresenting the attribute to assign in case of attribute passive. for all other nodes, just leave it enpty.

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

ConfirmOperation

MethodLink ↗
public static LokiPoe.InGameState.PassiveAllocationActionError LokiPoe.InGameState.SkillsUi.ConfirmOperation()

Click the Confirmation button, usually used after you assign passive points.

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

Named values for passive allocation action error. Select a value when an API accepts or returns PassiveAllocationActionError.

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

GetPassivePtr

MethodLink ↗
public static long LokiPoe.InGameState.SkillsUi.GetPassivePtr(ushort id)

Calls GetPassivePtr on LokiPoe.InGameState.SkillsUi with id and returns long. Open the return contract below before using the result.

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

Parameters

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

The passive Id.

Returns: The long result.

IsAllocated

MethodLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsAllocated(ushort id)

Return true if the passive is already allocated.

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

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.

Returns: true if the passive is already allocated.

IsAscendPassive

MethodLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsAscendPassive(ushort id)

Return true if the id belongs to the Ascendancy tree, whether allocated or not.

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

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.

Returns: true if the id belongs to the Ascendancy tree.

PassiveDumpEventFunction

MethodLink ↗
public static DatPassiveSkillWrapper LokiPoe.InGameState.SkillsUi.PassiveDumpEventFunction(long intptr)

Calls PassiveDumpEventFunction on LokiPoe.InGameState.SkillsUi with intptr and returns DatPassiveSkillWrapper. Open the return contract below before using the result.

Return type: DatPassiveSkillWrapper
Explore DatPassiveSkillWrapper → members & methods

Game-data record for passive skill. Use its identifiers and properties to look up game definitions.

Parameters

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

the intPrt of the element relative to the node.

Returns: DatPassiveSkillWrapper rapresenting the passive skill, or null.

RefundPassive

MethodLink ↗
public static LokiPoe.InGameState.RefundPassiveError LokiPoe.InGameState.SkillsUi.RefundPassive(ushort id)

Click on a specific passive point to deallocate it. Remember to EnableRefound() before to call this, and to ConfirmOperation() once done.

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

Named values for refund passive error. Select a value when an API accepts or returns RefundPassiveError.

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.

Returns: RefundPassiveError.None or the relative error.

ResetAllPassives

MethodLink ↗
public static LokiPoe.InGameState.PassiveAllocationActionError LokiPoe.InGameState.SkillsUi.ResetAllPassives()

Click Reset All Passives. Does not accept any subsequent confirmation dialog. None means the click was sent, not that the reset has completed.

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

Named values for passive allocation action error. Select a value when an API accepts or returns PassiveAllocationActionError.

Returns: The PassiveAllocationActionError result.

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.

Dictionary_Ascend

PropertyLink ↗
public static Dictionary<int, long> LokiPoe.InGameState.SkillsUi.Dictionary_Ascend { get; }

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

Value type: Dictionary<int, long>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Dictionary_Passive

PropertyLink ↗
public static Dictionary<int, long> LokiPoe.InGameState.SkillsUi.Dictionary_Passive { get; }

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

Value type: Dictionary<int, long>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsApplyEnabled

PropertyLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsApplyEnabled { get; }

Return true if the apply button is enabled.

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

IsApplyVisible

PropertyLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsApplyVisible { get; }

Return true if the apply button is visible.

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

IsCancelEnabled

PropertyLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsCancelEnabled { get; }

Return true if the cancel button is enabled.

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

IsCancelVisible

PropertyLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsCancelVisible { get; }

Return true if the cancel button is visible.

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

IsOpened

PropertyLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsOpened { get; }

Return true if the Passive panel is open.

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

IsRefundPassivesEnabled

PropertyLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsRefundPassivesEnabled { get; }

Return true if the we are in refound mode.

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

IsResetAllPassiveEnabled

PropertyLink ↗
public static bool LokiPoe.InGameState.SkillsUi.IsResetAllPassiveEnabled { get; }

True only when Reset All Passives is both visible and enabled.

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

ResetAllPassivesElement

PropertyLink ↗
public static Element LokiPoe.InGameState.SkillsUi.ResetAllPassivesElement { get; }

The Reset All Passives button, when present in the passive tree.

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.

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.