From 179a88c588cf9d2021fb137aee87036caae020b7 Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:23:27 +0200 Subject: [PATCH] Add `isBlueprintFlagged` to `IPluginList` --- src/ipluginlist.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ipluginlist.h b/src/ipluginlist.h index 246209b..28b13f2 100644 --- a/src/ipluginlist.h +++ b/src/ipluginlist.h @@ -213,6 +213,16 @@ class IPluginList */ virtual bool isLightFlagged(const QString& name) const = 0; + /** + * @brief determine if a plugin is flagged as blueprint + * @param name filename of the plugin (without path but with file extension) + * @return true if the file is flagged as blueprint, false if it isn't OR if the file + * doesn't exist. + * @note this plugin flag was added in Starfield and signifies plugins that are + * hidden in the Creation Kit and removed from Plugins.txt when the game loads a save + */ + virtual bool isBlueprintFlagged(const QString& name) const = 0; + /** * @brief determine if a plugin has no records * @param name filename of the plugin (without path but with file extension)