File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -672,8 +672,13 @@ namespace mo2::python {
672672 {
673673 py::class_<IDownloadManager>(m, " IDownloadManager" )
674674 .def (" startDownloadURLs" , &IDownloadManager::startDownloadURLs, " urls" _a)
675- .def (" startDownloadNexusFile" , &IDownloadManager::startDownloadNexusFile,
675+ .def (" startDownloadNexusFile" ,
676+ py::overload_cast<int , int >(&IDownloadManager::startDownloadNexusFile),
676677 " mod_id" _a, " file_id" _a)
678+ .def (" startDownloadNexusFile" ,
679+ py::overload_cast<const QString&, int , int >(
680+ &IDownloadManager::startDownloadNexusFile),
681+ " game_name" _a, " mod_id" _a, " file_id" _a)
677682 .def (" downloadPath" , &IDownloadManager::downloadPath, " id" _a)
678683 .def (" onDownloadComplete" , &IDownloadManager::onDownloadComplete,
679684 " callback" _a)
You can’t perform that action at this time.
0 commit comments