@@ -806,37 +806,15 @@ namespace mo2::python {
806806 void add_iinstance_manager_classes (py::module_ m)
807807 {
808808 py::class_<IInstance, std::shared_ptr<IInstance>>(m, " IInstance" )
809- .def (" readFromIni" , &IInstance::readFromIni)
810809 .def (" displayName" , &IInstance::displayName)
811810 .def (" gameName" , &IInstance::gameName)
812811 .def (" gameDirectory" , &IInstance::gameDirectory)
813- .def (" directory" , &IInstance::directory)
814- .def (" baseDirectory" , &IInstance::baseDirectory)
815- .def (" isPortable" , &IInstance::isPortable)
816- .def (" profileName" , &IInstance::profileName)
817- .def (" iniPath" , &IInstance::iniPath);
812+ .def (" isPortable" , &IInstance::isPortable);
818813
819814 py::class_<IInstanceManager>(m, " IInstanceManager" )
820- .def (" overrideInstance" , &IInstanceManager::overrideInstance,
821- " instance_name" _a)
822- .def (" overrideProfile" , &IInstanceManager::overrideProfile,
823- " profile_name" _a)
824- .def (" clearOverrides" , &IInstanceManager::clearOverrides)
825- .def (" clearCurrentInstance" , &IInstanceManager::clearCurrentInstance)
826815 .def (" currentInstance" , &IInstanceManager::currentInstance,
827816 py::return_value_policy::reference)
828- .def (" setCurrentInstance" , &IInstanceManager::setCurrentInstance,
829- " instance_name" _a)
830- .def (" allowedToChangeInstance" , &IInstanceManager::allowedToChangeInstance)
831- .def (" portableInstanceExists" , &IInstanceManager::portableInstanceExists)
832- .def (" portablePath" , &IInstanceManager::portablePath)
833- .def (" globalInstancesRootPath" , &IInstanceManager::globalInstancesRootPath)
834- .def (" globalInstancePaths" , &IInstanceManager::globalInstancePaths)
835- .def (" globalInstanceExists" , &IInstanceManager::globalInstanceExists,
836- " instance_name" _a)
837- .def (" globalInstancePath" , &IInstanceManager::globalInstancePath,
838- " instance_name" _a)
839- .def (" iniPath" , &IInstanceManager::iniPath, " instance_directory" _a);
817+ .def (" globalInstancePaths" , &IInstanceManager::globalInstancePaths);
840818 }
841819
842820 void add_idownload_manager_classes (py::module_ m)
0 commit comments