SaveGameInfo¶
-
class
mobase.SaveGameInfo¶ Bases:
abc.ABCFeature to get hold of stuff to do with save games.
Methods Summary
getMissingAssets(filepath)Retrieve missing assets from the save.
getSaveGameWidget(parent)Retrieve a widget to display over the save game list.
Methods Documentation
-
abstract
getMissingAssets(filepath)¶ Retrieve missing assets from the save.
- Parameters
filepath – The save to find missing assets for.
- Returns
A collection of missing assets and the modules that can supply those assets.
- Return type
Dict[str,List[str]]
-
abstract
getSaveGameWidget(parent)¶ Retrieve a widget to display over the save game list.
This method is allowed to return None in case no widget has been implemented.
- Parameters
parent – The parent widget.
- Returns
A SaveGameInfoWidget to display information about save game.
- Return type
Optional[ISaveGameInfoWidget]
-
abstract