public static void LokiPoe.ClientFunctions.DisableRender()
Desable the game rendering.
voidNo return value.This is a convenient class to perform various action on the game client, and retrieve informations.
Namespace: DreamPoeBot.Loki.Game
public static class LokiPoe.ClientFunctionspublic static void LokiPoe.ClientFunctions.DisableRender()
Desable the game rendering.
voidNo return value.public static void LokiPoe.ClientFunctions.EnableRender()
Enable the game rendering.
voidNo return value.public static int LokiPoe.ClientFunctions.GetBackgroundFps()
Get the current Backgroud FPS setted.
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Returns: The int result.
public static float LokiPoe.ClientFunctions.GetHeightAt(int x, int y)
Returns the current area's terrain height at grid coordinates, including cell zero.
floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.xintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies x.
yintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies y.
Returns: The float result.
DPB2 0.4.5.91 rejects invalid terrain coordinates with ArgumentOutOfRangeException and unavailable or changed-area terrain with InvalidOperationException. For coordinate conversions this applies when checkZ is true. Abort the pending action on failure; do not catch and continue with a click or key press. Discard saved targets when changing areas and reacquire them before a later attempt.
public static Vector2i LokiPoe.ClientFunctions.MousePosToScreenPos2(Vector2i pos)
Internal method used for debugging purpose.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
posVector2iSpecifies pos.
Returns: The Vector2i result.
public static void LokiPoe.ClientFunctions.SetBackgroundFps(int fps, bool force = false)
Set the current Backgroud FPS.
voidNo return value.fpsintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.The desired FPS.
forceboolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.If `IsBackgroundFpsActive` this set is ignored, unless you set this option to true.
public static DatQuestStateWrapper LokiPoe.ClientFunctions.UpdateQuestState(DatQuestWrapper quest)
Updates quest state using the supplied arguments.
DatQuestStateWrapperGame-data record for quest state. Use its identifiers and properties to look up game definitions.
questDatQuestWrapperSpecifies quest.
Returns: The DatQuestStateWrapper result.
public static DatQuestStateWrapper LokiPoe.ClientFunctions.UpdateQuestState(string questId)
Updates quest state using the supplied arguments.
DatQuestStateWrapperGame-data record for quest state. Use its identifiers and properties to look up game definitions.
questIdstringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies quest id.
Returns: The DatQuestStateWrapper result.
public static void LokiPoe.ClientFunctions.WorldToScreen(Vector3 position, out int cx, out int cy)
Convert World coordinates to screen coordinates based on the actual camera settings.
voidNo return value.positionVector3Specifies position.
cxintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Receives cx.
cyintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Receives cy.
public static void LokiPoe.ClientFunctions.WorldToScreen(float x, float y, float z, out int cx, out int cy)
Convert World coordinates to screen coordinates based on the actual camera settings.
voidNo return value.xfloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies x.
yfloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies y.
zfloatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies z.
cxintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Receives cx.
cyintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Receives cy.
public static bool LokiPoe.ClientFunctions.IsRenderEnabled { get; }
Return true if the game Rendering is Enabled.
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.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.