IModRepositoryBridge

class mobase.IModRepositoryBridge

Bases: QObject

Attributes Summary

descriptionAvailable

downloadURLsAvailable

endorsementToggled

endorsementsAvailable

fileInfoAvailable

filesAvailable

requestFailed

trackedModsAvailable

trackingToggled

Methods Summary

requestDescription(game_name, mod_id, user_data)

Request description of a mod.

requestDownloadURL(game_name, mod_id, ...)

Request download URL for mod file.0

requestFileInfo(game_name, mod_id, file_id, ...)

rtype:

None

requestFiles(game_name, mod_id, user_data)

Request the list of files belonging to a mod.

requestToggleEndorsement(game_name, mod_id, ...)

rtype:

None

Attributes Documentation

descriptionAvailable: pyqtSignal = Ellipsis
downloadURLsAvailable: pyqtSignal = Ellipsis
endorsementToggled: pyqtSignal = Ellipsis
endorsementsAvailable: pyqtSignal = Ellipsis
fileInfoAvailable: pyqtSignal = Ellipsis
filesAvailable: pyqtSignal = Ellipsis
requestFailed: pyqtSignal = Ellipsis
trackedModsAvailable: pyqtSignal = Ellipsis
trackingToggled: pyqtSignal = Ellipsis

Methods Documentation

requestDescription(game_name, mod_id, user_data)

Request description of a mod.

Return type:

None

Parameters:
  • game_name – Name of the game containing the mod.

  • mod_id – Nexus ID of the mod.

  • user_data – User data to be returned with the result.

requestDownloadURL(game_name, mod_id, file_id, user_data)

Request download URL for mod file.0

Return type:

None

Parameters:
  • game_name – Name of the game containing the mod.

  • mod_id – Nexus ID of the mod.

  • file_id – ID of the file for which a URL should be returned.

  • user_data – User data to be returned with the result.

requestFileInfo(game_name, mod_id, file_id, user_data)
Return type:

None

Parameters:
  • game_name – Name of the game containing the mod.

  • mod_id – Nexus ID of the mod.

  • file_id – ID of the file for which information is requested.

  • user_data – User data to be returned with the result.

requestFiles(game_name, mod_id, user_data)

Request the list of files belonging to a mod.

Return type:

None

Parameters:
  • game_name – Name of the game containing the mod.

  • mod_id – Nexus ID of the mod.

  • user_data – User data to be returned with the result.

requestToggleEndorsement(game_name, mod_id, mod_version, endorse, user_data)
Return type:

None

Parameters:
  • game_name – Name of the game containing the mod.

  • mod_id – Nexus ID of the mod.

  • mod_version – Version of the mod.

  • endorse

  • user_data – User data to be returned with the result.