Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • displayLeaderboard(runtimeScene: RuntimeScene, leaderboardId: string, displayLoader: boolean): Promise<void>
  • Parameters

    • runtimeScene: RuntimeScene
    • leaderboardId: string
    • displayLoader: boolean

    Returns Promise<void>

  • formatPlayerName(rawName?: null | string): string
  • Parameters

    • Optional rawName: null | string

    Returns string

  • getLastSaveError(leaderboardId?: string): null | string
  • Parameters

    • Optional leaderboardId: string

    Returns null | string

  • hasBeenSaved(leaderboardId?: string): boolean
  • Parameters

    • Optional leaderboardId: string

    Returns boolean

  • hasPlayerJustClosedLeaderboardView(): boolean
  • Returns true if the player has just closed the leaderboard view.

    Returns boolean

  • hasSavingErrored(leaderboardId?: string): boolean
  • Parameters

    • Optional leaderboardId: string

    Returns boolean

  • isLeaderboardViewErrored(): boolean
  • Returns boolean

  • isLeaderboardViewLoaded(): boolean
  • Returns boolean

  • isLeaderboardViewLoading(): boolean
  • Returns boolean

  • isSaving(leaderboardId?: string): boolean
  • Parameters

    • Optional leaderboardId: string

    Returns boolean

Generated using TypeDoc