Class GamesListUpdater

java.lang.Object
com.gmt2001.util.GamesListUpdater

@Deprecated(since="3.10.0.0", forRemoval=true) public final class GamesListUpdater extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
To be replaced
Updates the game list used for auto-complete when changing the game from the panel

The list is stored at web/panel/js/utils/gamesList.txt

Author:
gmt2001
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Updates the games list using smart update mode
    static void
    update(boolean force)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Updates the games list

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • update

      public static void update()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Updates the games list using smart update mode
    • update

      public static void update(boolean force)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Updates the games list

      If force is false, a smart update is performed. A smart update only occurs if it has been 7 days since the last update, and will attempt to perform a patch update if available. If the local index is too old, a full update is performed instead, where the entire games index is downloaded. A full update can take some time

      Parameters:
      force - true to force a full update of the index ane enable additional console output; false to perform a smart update