Options
All
  • Public
  • Public/Protected
  • All
Menu

The LobbyApi is used to login, get servers informations and load the GameApi

Hierarchy

  • LobbyApi

Index

Methods

getAccounts

  • getAccounts(): Promise<Account[]>
  • Returns Promise<Account[]>

    Returns the user accounts. The user accounts are the differents server which the user is already connected at least one time

listServers

  • listServers(): Promise<Server[]>

loadGame

login

  • login(email: string, password: string): Promise<void>
  • Parameters

    • email: string

      Email of the ogame account

    • password: string

      Password of the ogame account

    Returns Promise<void>

me

  • me(): Promise<User>

selectLastPlayedAccount

  • selectLastPlayedAccount(): Promise<Account>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc