ISaveGame

class mobase.ISaveGame

Bases: object

Base class for information about what is in a save game.

Methods Summary

allFiles()

returns

The list of all files related to this save.

getCreationTime()

Retrieve the creation time of the save.

getFilename()

returns

The name of the (main) save file.

getSaveGroupIdentifier()

Retrieve the name of the group this files belong to.

hasScriptExtenderFile()

returns

True if this save game has an associated script extender save, False otherwise.

Methods Documentation

allFiles()
Returns

The list of all files related to this save.

Return type

List[str]

getCreationTime()

Retrieve the creation time of the save.

The creation time of a save is not always the same as the creation time of the file containing the save.

Returns

The creation time of the save.

Return type

QDateTime

getFilename()
Returns

The name of the (main) save file.

Return type

str

getSaveGroupIdentifier()

Retrieve the name of the group this files belong to.

The name can be used to identify sets of saves to transfer between profiles. For RPG games, this is usually the name of a character.

Returns

The group identifier for this save game.

Return type

str

hasScriptExtenderFile()
Returns

True if this save game has an associated script extender save, False otherwise.

Return type

bool