Class VersionDownloader

java.lang.Object
io.github.cobas91.util.RiotApiHttpClient
io.github.cobas91.lol.client.VersionDownloader

public class VersionDownloader extends RiotApiHttpClient
The VersionDownloader class is responsible for downloading the current version numbers of the game. It extends the HttpClientImpl class and provides methods to retrieve the current patch.
  • Method Details

    • getCurrentPatch

      public String getCurrentPatch()
      Retrieves the current patch version of the game.
      Returns:
      The current patch version as a String.
    • getVersionNumbers

      public String[] getVersionNumbers()
      Retrieves the available version numbers of the game.
      Returns:
      An array of strings representing the available versions.