Class EditorLeaderboards

An in-memory representation of data store leaderboards.

Methods

  • Creates an in-memory leaderboard.

    Parameters

    • id: string

      The id of the leaderboard.

    • options: {
          operator: "SET" | "ADD" | "SUB" | "USE_LATEST";
          sortOrder: "ASC" | "DESC";
      }

      The options associated with the leaderboard (operator, sort order).

      • operator: "SET" | "ADD" | "SUB" | "USE_LATEST"
      • sortOrder: "ASC" | "DESC"

    Returns void