DPB1Class · Game state and actions

LokiPoe.LoginState

This class retive informations and perform tasks on the Login State Ui, the menu can be open with the 'Esc' key.

Namespace: DreamPoeBot.Loki.Game

public static class LokiPoe.LoginState
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

12 declared here

ClickLogin

MethodLink ↗
public static void LokiPoe.LoginState.ClickLogin()

Clicks login.

Return type: voidNo return value.

GetGateway

MethodLink ↗
public static GatewayComboBoxElement.GatewayEnum LokiPoe.LoginState.GetGateway()

Get the current selected Gateway.

Return type: GatewayComboBoxElement.GatewayEnum
Explore GatewayComboBoxElement.GatewayEnum → members & methods

Named values for gateway enum. Select a value when an API accepts or returns GatewayEnum.

Returns: GatewayComboBoxElement.GatewayEnum rapresenting te current selected Gateway, or GatewayComboBoxElement.GatewayEnum.Unknown in case of errors.

Login

MethodLink ↗
public static LokiPoe.LoginState.LoginError LokiPoe.LoginState.Login(bool dryRun = false)

Just hit the login button.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

dryRun
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.

Returns: Return LoginState.LoginError error or Null if sucessfull.

Login

MethodLink ↗
public static LokiPoe.LoginState.LoginError LokiPoe.LoginState.Login(string gateway)

Set the gateway and hit Login button.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

gateway
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

A string representing the desired gateway.

Returns: True if sucessfull.

Login

MethodLink ↗
public static LokiPoe.LoginState.LoginError LokiPoe.LoginState.Login(string email, string password)

Set email password and hit Login button.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

email
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

A string representing the email.

password
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

A string representing the password.

Returns: Return LoginState.LoginError error or Null if sucessfull.

Login

MethodLink ↗
public static LokiPoe.LoginState.LoginError LokiPoe.LoginState.Login(string email, string password, string gateway)

Set email password and the gateway and hit Login button.

Return type: staticNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

email
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

A string representing the email.

password
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

A string representing the password.

gateway
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

A string representing the gateway.

Returns: Return LoginState.LoginError error or Null if sucessfull.

SetEmail

MethodLink ↗
public static void LokiPoe.LoginState.SetEmail(string email)

Calls SetEmail on LokiPoe.LoginState with email. This overload has no return value.

Return type: voidNo return value.

Parameters

email
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies email.

SetGateway

MethodLink ↗
public static bool LokiPoe.LoginState.SetGateway(GatewayComboBoxElement.GatewayEnum gateway)

Set a specific gateway in the login Ui.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

gateway
Parameter type: GatewayEnumNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

a GatewayComboBoxElement.GatewayEnum enumerator representing the selected gateway.

Returns: A Boolean result. The member description explains the condition being checked.

SetPassword

MethodLink ↗
public static void LokiPoe.LoginState.SetPassword(string pw)

Calls SetPassword on LokiPoe.LoginState with pw. This overload has no return value.

Return type: voidNo return value.

Parameters

pw
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies pw.

CurrentSelectedGateway

PropertyLink ↗
public static string LokiPoe.LoginState.CurrentSelectedGateway { get; }

Reads current selected gateway on LokiPoe.LoginState as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsConnecting

PropertyLink ↗
public static bool LokiPoe.LoginState.IsConnecting { get; }

Return True while connecting to the game diring the login stage. This operation is not implemented in this source version.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

LoginTextboxText

PropertyLink ↗
public static string LokiPoe.LoginState.LoginTextboxText { get; }

Return the text contained in the login Textbox.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

DPB1 0.3.29.56 · 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.