mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Replace GameInfo::path with iPluginGame::gameDirectory (or dataDirectory where applicable)
Note: this isn''t ideal as it's not backward compatible
This commit is contained in:
@@ -707,7 +707,7 @@ BOOST_PYTHON_MODULE(mobase)
|
||||
|
||||
bpy::class_<IGameInfoWrapper, boost::noncopyable>("GameInfo")
|
||||
.def("type", bpy::pure_virtual(&IGameInfo::type))
|
||||
.def("path", bpy::pure_virtual(&IGameInfo::path))
|
||||
// .def("path", bpy::pure_virtual(&IGameInfo::path))
|
||||
// .def("binaryName", bpy::pure_virtual(&IGameInfo::binaryName))
|
||||
;
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ struct IInstallationManagerWrapper: MOBase::IInstallationManager, boost::python:
|
||||
struct IGameInfoWrapper: MOBase::IGameInfo, boost::python::wrapper<MOBase::IGameInfo>
|
||||
{
|
||||
virtual Type type() const { return this->get_override("type")(); }
|
||||
virtual QString path() const { return this->get_override("path")(); }
|
||||
// virtual QString path() const { return this->get_override("path")(); }
|
||||
// virtual QString binaryName() const { return this->get_override("binaryName")(); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user