Skip to content

Commit a90943c

Browse files
committed
Add blueprint prefix to game plugin
1 parent 5003bf7 commit a90943c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/mobase/wrappers/pyplugins.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ namespace mo2::python {
7676
.def("iniFiles", &IPluginGame::iniFiles)
7777
.def("DLCPlugins", &IPluginGame::DLCPlugins)
7878
.def("CCPlugins", &IPluginGame::CCPlugins)
79+
.def("blueprintPrefix", &IPluginGame::blueprintPrefix)
7980
.def("loadOrderMechanism", &IPluginGame::loadOrderMechanism)
8081
.def("sortMechanism", &IPluginGame::sortMechanism)
8182
.def("nexusModOrganizerID", &IPluginGame::nexusModOrganizerID)

src/mobase/wrappers/pyplugins.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,10 @@ namespace mo2::python {
483483
{
484484
PYBIND11_OVERRIDE(QStringList, IPluginGame, CCPlugins, );
485485
}
486+
QString blueprintPrefix() const override
487+
{
488+
PYBIND11_OVERRIDE(QString, IPluginGame, blueprintPrefix, );
489+
}
486490
LoadOrderMechanism loadOrderMechanism() const override
487491
{
488492
PYBIND11_OVERRIDE(LoadOrderMechanism, IPluginGame, loadOrderMechanism, );

0 commit comments

Comments
 (0)