hudman
8.0.0
Local HUD mirror manager
|
Public Member Functions | |
None | __init__ (self, str gamedb, str outdir) |
None | getall (self) |
None | save (self) |
None | updateall (self) |
Private Member Functions | |
bool | __checkdb (self) |
None | __downloadhud (self, hud) |
None | __processdb (self, handler) |
None | __readdb (self) |
None | __setlogger (self) |
None | __updatehud (self, hud) |
Private Attributes | |
__gamedb | |
__huddb | |
__hudlist | |
__logger | |
__outdir | |
Main class for working with the HUD database.
None hudman.HUDManager.__init__ | ( | self, | |
str | gamedb, | ||
str | outdir | ||
) |
Main constructor of HUDManager class. :param gamedb: Full path to game database file. :param outdir: Full path to output directory.
|
private |
Check if specified HUD database file exists. :return: Return True if HUD database file exists. :rtype: bool
|
private |
Download specified HUD using different backends without doing update. :param hud: HUD entry to process and download.
|
private |
Process all HUDs from the database. :param handler: Handler method name.
|
private |
Read and parse HUD XML database file.
|
private |
Add logging support and configure logger.
|
private |
Process and download specified HUD using different backends. :param hud: HUD entry to process and download.
None hudman.HUDManager.getall | ( | self | ) |
Download all HUDs from the database.
None hudman.HUDManager.save | ( | self | ) |
Save changes back to XML database file.
None hudman.HUDManager.updateall | ( | self | ) |
Download updates for all HUDs from the database.