Add GameInterface::IsLoadOrderAmbiguous()

It exposes libloadorder's lo_is_ambiguous() function.
This commit is contained in:
Oliver Hamlet
2022-02-23 16:45:26 +00:00
parent ac7d60cc76
commit bc76e83357
7 changed files with 41 additions and 1 deletions
+11
View File
@@ -144,6 +144,17 @@ public:
*/
virtual void LoadCurrentLoadOrderState() = 0;
/**
* @brief Check if the load order is ambiguous.
* @details This checks that all plugins in the current load order state have
* a well-defined position in the "on disk" state, and that all data
* sources are consistent. If the load order is ambiguous, different
* applications may read different load orders from the same source
* data.
* @returns True if the load order is ambiguous, false otherwise.
*/
virtual bool IsLoadOrderAmbiguous() const = 0;
/**
* @brief Check if a plugin is active.
* @param plugin