From 4963c278fe849562b1059fe70f95b0cd74a48f70 Mon Sep 17 00:00:00 2001 From: Chris Bessent Date: Sun, 26 Jan 2020 18:26:03 -0700 Subject: Don't allow foreign mods or overwrite for overriding overwrite --- src/modinfo.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/modinfo.h') diff --git a/src/modinfo.h b/src/modinfo.h index a27822b0..34b1ecdf 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -541,6 +541,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 flags) const; + /** * @brief test if the mods contains the specified content * @param content the content to test -- cgit v1.3.1