Function getReplay

  • Get the replay for a score!

    Parameters

    • this: API
    • score: number | Score

      The score that has created the replay

    Returns Promise<string>

    The correctly encoded content of what would be a replay file (you can just fs.writeFileSync with it!)

    "public"