DPB2Class · Game state and actions

LokiPoe.ClientFunctions

This is a convenient class to perform various action on the game client, and retrieve informations.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.ClientFunctionsView DPB1 version →

Members and overloads

11 results

DisableRender

MethodLink ↗
public static void LokiPoe.ClientFunctions.DisableRender()

Desable the game rendering.

EnableRender

MethodLink ↗
public static void LokiPoe.ClientFunctions.EnableRender()

Enable the game rendering.

GetBackgroundFps

MethodLink ↗
public static int LokiPoe.ClientFunctions.GetBackgroundFps()

Get the current Backgroud FPS setted.

Returns: The int result.

GetHeightAt

MethodLink ↗
public static float LokiPoe.ClientFunctions.GetHeightAt(int x, int y)

Returns height at using the supplied arguments.

xint
Specifies x.
yint
Specifies y.

Returns: The float result.

MousePosToScreenPos2

MethodLink ↗
public static Vector2i LokiPoe.ClientFunctions.MousePosToScreenPos2(Vector2i pos)

Internal method used for debugging purpose.

posVector2i
Specifies pos.

Returns: The Vector2i result.

SetBackgroundFps

MethodLink ↗
public static void LokiPoe.ClientFunctions.SetBackgroundFps(int fps, bool force = false)

Set the current Backgroud FPS.

fpsint
The desired FPS.
forcebool
If `IsBackgroundFpsActive` this set is ignored, unless you set this option to true.

UpdateQuestState

MethodLink ↗
public static DatQuestStateWrapper LokiPoe.ClientFunctions.UpdateQuestState(DatQuestWrapper quest)

Updates quest state using the supplied arguments.

questDatQuestWrapper
Specifies quest.

Returns: The DatQuestStateWrapper result.

UpdateQuestState

MethodLink ↗
public static DatQuestStateWrapper LokiPoe.ClientFunctions.UpdateQuestState(string questId)

Updates quest state using the supplied arguments.

questIdstring
Specifies quest id.

Returns: The DatQuestStateWrapper result.

WorldToScreen

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

positionVector3
Specifies position.
cxint
Receives cx.
cyint
Receives cy.

WorldToScreen

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

xfloat
Specifies x.
yfloat
Specifies y.
zfloat
Specifies z.
cxint
Receives cx.
cyint
Receives cy.

IsRenderEnabled

PropertyLink ↗
public static bool LokiPoe.ClientFunctions.IsRenderEnabled { get; }

Return true if the game Rendering is Enabled.

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.