Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isOverlayFlagged to IPluginList #136

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/ipluginlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,16 @@ class IPluginList
* @note in gamebryo games, a light file will usually have a .esl file
*/
virtual bool isLightFlagged(const QString& name) const = 0;

/**
* @brief determine if a plugin is flagged as an overlay
* @param name filename of the plugin (without path but with file extension)
* @return true if the file is flagged as overlay, false if it isn't OR if the file
* doesn't exist.
* @note this plugin flag was added in Starfield and signifies plugin records that
* update existing records
*/
virtual bool isOverlayFlagged(const QString& name) const = 0;
};

} // namespace MOBase
Expand Down
Loading