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