Package com.gmt2001.util
Class GamesListUpdater
java.lang.Object
com.gmt2001.util.GamesListUpdater
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 TypeMethodDescriptionstatic void
update()
Deprecated, for removal: This API element is subject to removal in a future version.Updates the games list using smart update modestatic void
update
(boolean force) Deprecated, for removal: This API element is subject to removal in a future version.Updates the games list
-
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 listIf
force
isfalse
, 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
-