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)
LokiPoe.InGameState.UseResultNamed 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- Parameter type:
Vector2A 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.