Skip to content

Commit

Permalink
Add isBlueprintFlagged to IPluginList (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanFeenstra authored Oct 2, 2024
1 parent 801f953 commit 32fa346
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ipluginlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 32fa346

Please sign in to comment.