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.LoginStateView DPB2 version →

Members and overloads

12 results

ClickLogin

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

Clicks login.

GetGateway

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

Get the current selected Gateway.

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.

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

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

emailstring
A string representing the email.
passwordstring
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.

emailstring
A string representing the email.
passwordstring
A string representing the password.
gatewaystring
A string representing the gateway.

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

SetEmail

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

Sets email using the supplied arguments.

emailstring
Specifies email.

SetGateway

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

Set a specific gateway in the login Ui.

gatewayGatewayEnum
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)

Sets password using the supplied arguments.

pwstring
Specifies pw.

CurrentSelectedGateway

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

Gets current selected gateway for LoginState. This operation is not implemented in this source version.

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.

LoginTextboxText

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

Return the text contained in the login Textbox.

Related types

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