Update LOOT API wrapped

To dc3a93ecf331465b17a28ac39e6c17370438331b.
This commit is contained in:
Oliver Hamlet
2016-08-24 19:02:18 +01:00
parent fc30a3f0bb
commit 7838f3aa5b
5 changed files with 15 additions and 12 deletions
+5 -4
View File
@@ -38,7 +38,7 @@ PYBIND11_PLUGIN(loot_api) {
using loot::MessageType;
using loot::MasterlistInfo;
using loot::PluginCleanliness;
using loot::PluginMessage;
using loot::SimpleMessage;
using loot::PluginTags;
using pybind11::arg;
@@ -85,9 +85,10 @@ PYBIND11_PLUGIN(loot_api) {
.def_readwrite("revision_date", &MasterlistInfo::revision_date)
.def_readwrite("is_modified", &MasterlistInfo::is_modified);
class_<PluginMessage>(module, "Message")
.def_readwrite("type", &PluginMessage::type)
.def_readwrite("text", &PluginMessage::text);
class_<SimpleMessage>(module, "Message")
.def_readwrite("type", &SimpleMessage::type)
.def_readwrite("language", &SimpleMessage::language)
.def_readwrite("text", &SimpleMessage::text);
class_<PluginTags>(module, "PluginTags")
.def_readwrite("added", &PluginTags::added)