diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index f37e76e..6af3c61 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -925,6 +925,7 @@ BOOST_PYTHON_MODULE(mobase) .def("setGameVariant", bpy::pure_virtual(&MOBase::IPluginGame::setGameVariant)) .def("binaryName", bpy::pure_virtual(&MOBase::IPluginGame::binaryName)) .def("gameShortName", bpy::pure_virtual(&MOBase::IPluginGame::gameShortName)) + .def("validShortNames", bpy::pure_virtual(&MOBase::IPluginGame::validShortNames)) .def("gameNexusName", bpy::pure_virtual(&MOBase::IPluginGame::gameNexusName)) .def("iniFiles", bpy::pure_virtual(&MOBase::IPluginGame::iniFiles)) .def("DLCPlugins", bpy::pure_virtual(&MOBase::IPluginGame::DLCPlugins)) diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index 14b6473..f80170c 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -455,6 +455,7 @@ struct IPluginGameWrapper: MOBase::IPluginGame, boost::python::wrapperget_override("setGameVariant")(variant); } virtual QString binaryName() const override { return this->get_override("binaryName")(); } virtual QString gameShortName() const override { return this->get_override("gameShortName")(); } + virtual QStringList validShortNames() const override { return this->get_override("validShortNames")(); } virtual QString gameNexusName() const override { return this->get_override("gameNexusName")(); } virtual QStringList iniFiles() const override { return this->get_override("iniFiles")(); } virtual QStringList DLCPlugins() const override { return this->get_override("DLCPlugins")(); }