Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "cloud/index"

Index

Classes

Functions

Functions

getWorlds

  • getWorlds(): Promise<WorldInfo[]>
  • Gets all worlds owned by the logged in user.

    Returns Promise<WorldInfo[]>

login

  • login(username: string, password: string): Promise<void>
  • Function to try to log in, if the log in fails, the returned promise will reject, otherwise it will resolve.

    Parameters

    • username: string

      the username to try to log in with

    • password: string

      the password to try to log in with

    Returns Promise<void>

setFetch

  • setFetch(fn: fetch): void

Generated using TypeDoc