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.SkillBarHudView DPB1 version →

Members and overloads

65 results

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.

slotint
The slot to use.
inPlacebool
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.

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
clearKeysbool
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
positionVector2
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
positionVector2
A specific Vector2i position where to move the mouse.
clearKeysbool
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
positionVector2i
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
positionVector2i
A specific Vector2i position where to move the mouse.
clearKeysbool
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
positionVector3
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
positionVector3
A specific Vector2i position where to move the mouse.
clearKeysbool
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
objNetworkObject
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)

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
objNetworkObject
The NetworkObject to try to highlight.
clearKeysbool
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.

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

slotint
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)

Returns element for extra slot using the supplied arguments.

int_0int
Specifies int 0.

Returns: The Element result.

GetElementForSlot

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

Returns element for slot using the supplied arguments.

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

slotint
The desired slot to set. (1-13)
skillSkill
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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

slotint
The slot to use.
inPlacebool
If true, the CTRL key will be pressed before casting this skill and released right after.
clearKeysbool
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.

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.