mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Add getting only masterlist metadata to the API
This commit is contained in:
@@ -179,11 +179,16 @@ public:
|
||||
* @brief Get all a plugin's loaded metadata.
|
||||
* @param plugin
|
||||
* The filename of the plugin to look up metadata for.
|
||||
* @param includeUserMetadata
|
||||
* If true, any user metadata the plugin has is included in the
|
||||
* returned metadata, otherwise the metadata returned only includes
|
||||
* metadata from the masterlist.
|
||||
* @returns A PluginMetadata object containing all the plugin's metadata.
|
||||
* If the plugin has no metadata, PluginMetadata.IsNameOnly()
|
||||
* will return true.
|
||||
*/
|
||||
virtual PluginMetadata GetPluginMetadata(const std::string& plugin) = 0;
|
||||
virtual PluginMetadata GetPluginMetadata(const std::string& plugin,
|
||||
bool includeUserMetadata = true) = 0;
|
||||
|
||||
/**
|
||||
* @brief Get a plugin's metadata loaded from the given userlist.
|
||||
|
||||
Reference in New Issue
Block a user