summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2020-01-26 18:26:03 -0700
committerChris Bessent <lost.dragonist@gmail.com>2020-01-26 18:26:03 -0700
commit4963c278fe849562b1059fe70f95b0cd74a48f70 (patch)
tree94dbb39dab382deb7d2212cca76a1801ba2bb03e /src/modinfo.h
parent6214cf392395c6861f53e43f1bcf0cb4242f61de (diff)
Don't allow foreign mods or overwrite for overriding overwrite
Diffstat (limited to 'src/modinfo.h')
-rw-r--r--src/modinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index a27822b0..34b1ecdf 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -542,6 +542,13 @@ public:
bool hasFlag(EFlag flag) const;
/**
+ * @brief test if any of the provided flags are set for this mod
+ * @param flags the flags to test
+ * @return true if any of the flags are set, false otherwise
+ */
+ bool hasAnyOfTheseFlags(std::vector<ModInfo::EFlag> flags) const;
+
+ /**
* @brief test if the mods contains the specified content
* @param content the content to test
* @return true if the content is there, false otherwise