DPB2Class · Interface and panels

LokiPoe.InGameState.SkillBarHud

This class let you interact and retrieve informations about the SkillBarHud, the bottom left skill bar. This offer you wrapper to use skills in various mode, single click (Use, UseAt, UseOn) or keeping the key pressed (BeginUse, BeginUseAt). To set a skill on a specific slot (all 13 slots are available). To to clear a slot. And many other utility. This class is compatible with POE2.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.InGameState.SkillBarHud
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

65 declared here

BeginUse

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUse(int slot, bool inPlace)

Click and keep pressed the skill slot selected, without moving the mouse, this method is perfect to cast skills that do not require a target.

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

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

BeginUse

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUse(int slot, bool inPlace, bool clearKeys)

Click and keep pressed the skill slot selected, without moving the mouse, this method is perfect to cast skills that do not require a target.

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

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

If true, all keys state will be reseted.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector2 position)

Move the mouse at a specific Vector2 position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

position

A specific Vector2i position where to move the mouse.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector2 position, bool clearKeys)

Move the mouse at a specific Vector2 position and Click and keep pressed the skill slot selected, this is rarelly used, but still there might be some use case. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

position

A specific Vector2i position where to move the mouse.

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

If true, all keys state will be reseted.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector2i position)

Move the mouse at a specific Vector2i position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

position

A specific Vector2i position where to move the mouse.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector2i position, bool clearKeys)

Move the mouse at a specific Vector2i position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.Position. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

position

A specific Vector2i position where to move the mouse.

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

If true, all keys state will be reseted.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector3 position)

Move the mouse at a specific Vector3 position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

position

A specific Vector2i position where to move the mouse.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, Vector3 position, bool clearKeys)

Move the mouse at a specific Vector3 position and Click and keep pressed the skill slot selected, you usually retrieve the position using NetworkObject.InteractCenterWorld. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

position

A specific Vector2i position where to move the mouse.

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

If true, all keys state will be reset BEFORE using the skill.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, NetworkObject obj)

Try to highlight a specific NetworkObject and Click and keep pressed the skill slot selected. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

obj
Parameter type: NetworkObject

The NetworkObject to try to highlight.

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

BeginUseAt

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.BeginUseAt(int slot, bool inPlace, NetworkObject obj, bool clearKeys)

Try to highlight a specific NetworkObject and Click and keep pressed the skill slot selected. After you use this method, you usually check if the key is still pressed DreamPoeBot.Loki.Game.LokiPoe.ProcessHookManager.GetKeyState(Keys) and if it is, you only move the mouse DreamPoeBot.BotFramework.MouseManager.SetMousePos(System.String,DreamPoeBot.Common.Vector2i,System.Boolean)

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

obj
Parameter type: NetworkObject

The NetworkObject to try to highlight.

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

If true, all keys state will be reseted.

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

CanUse

MethodLink ↗
public static bool LokiPoe.InGameState.SkillBarHud.CanUse(int slot)

Return true if the selected slot skill can be used.

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

Parameters

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

The slot skill to check.

Returns: True if the skill can be used.

ClearSlot

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.ClearSlot(int slot)

Clear a specific skill slot.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

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

The slot to clear.

Returns: SetSlotResult.None on success or the relative error.

GetElementForExtraSlot

MethodLink ↗
public static Element LokiPoe.InGameState.SkillBarHud.GetElementForExtraSlot(int int_0)

Calls GetElementForExtraSlot on LokiPoe.InGameState.SkillBarHud with int_0 and returns Element. Open the return contract below before using the result.

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

Parameters

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

Specifies int 0.

Returns: The Element result.

GetElementForSlot

MethodLink ↗
public static Element LokiPoe.InGameState.SkillBarHud.GetElementForSlot(int int_0)

Calls GetElementForSlot on LokiPoe.InGameState.SkillBarHud with int_0 and returns Element. Open the return contract below before using the result.

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

Parameters

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

Specifies int 0.

Returns: The Element result.

SetSlot

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot(int slot, Skill skill)

Set a specific skill on a selected slot.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

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

The desired slot to set. (1-13)

skill

A Skill object to set on the selected slot.

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

SetSlot1

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot1(Skill skill)

Set a specific skill on the slot 1.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot10

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot10(Skill skill)

Set a specific skill on the slot 10.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot11

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot11(Skill skill)

Set a specific skill on the slot 11.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot12

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot12(Skill skill)

Set a specific skill on the slot 12.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot13

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot13(Skill skill)

Set a specific skill on the slot 13.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot2

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot2(Skill skill)

Set a specific skill on the slot 2.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot3

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot3(Skill skill)

Set a specific skill on the slot 3.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot4

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot4(Skill skill)

Set a specific skill on the slot 4.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot5

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot5(Skill skill)

Set a specific skill on the slot 5.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot6

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot6(Skill skill)

Set a specific skill on the slot 6.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot7

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot7(Skill skill)

Set a specific skill on the slot 7.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot8

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot8(Skill skill)

Set a specific skill on the slot 8.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

SetSlot9

MethodLink ↗
public static LokiPoe.InGameState.SetSlotResult LokiPoe.InGameState.SkillBarHud.SetSlot9(Skill skill)

Set a specific skill on the slot 9.

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

Named values for set slot result. Select a value when an API accepts or returns SetSlotResult.

Parameters

skill

A Skill object to set on the selected slot.

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

Slot

MethodLink ↗
public static Skill LokiPoe.InGameState.SkillBarHud.Slot(int slot)

Return the Skill object present on the selected slot, or null if no skill are present.

Return type: Skill
Explore Skill → members & methods

Inspect an available skill, its readiness and related properties. Check the appropriate skill-bar action before attempting to use it.

Parameters

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

The selected slot

Returns: A Skill object or null if no skills are present.

Use

MethodLink ↗
public static LokiPoe.InGameState.UseResult LokiPoe.InGameState.SkillBarHud.Use(int slot, bool inPlace, bool clearKeys = true)

Click the skill slot selected, without moving the mouse, this method is perfect to cast skills that do not require a target.

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

Named values for use result. Select a value when an API accepts or returns UseResult.

Parameters

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

The slot to use.

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

If true, the CTRL key will be pressed before casting this skill and released right after.

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

If set to true, all keys will be cleared before to cast. for instant skills you usually set this to false, to avoid keys like the move key to be released.

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

Guides using this class

See how these APIs fit together. Labs include complete source; the FollowBot walkthrough teaches you to build your own bot from selected fragments and checkpoints.

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.