SaveGameInfo

class mobase.SaveGameInfo

Bases: ABC

Feature to get hold of stuff to do with save games.

Methods Summary

getMissingAssets(save)

Retrieve missing assets from the save.

getSaveGameWidget(parent)

Retrieve a widget to display over the save game list.

Methods Documentation

abstract getMissingAssets(save)

Retrieve missing assets from the save.

Return type:

Dict[str, Sequence[str]]

Parameters:

save – The save to find missing assets for.

Returns:

A collection of missing assets and the modules that can supply those assets.

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.

Return type:

Optional[ISaveGameInfoWidget]

Parameters:

parent – The parent widget.

Returns:

A SaveGameInfoWidget to display information about save game.