Add PluginInterface::GetHeaderVersion()

This commit is contained in:
Oliver Hamlet
2018-10-20 12:48:22 +01:00
parent a1f3b3a519
commit c147841543
4 changed files with 33 additions and 0 deletions
+8
View File
@@ -45,6 +45,14 @@ public:
*/
virtual std::string GetName() const = 0;
/**
* Get the value of the version field in the HEDR subrecord of the plugin's
* TES4 record.
* @return The value of the version field, or NaN if the field could not be
* found.
*/
virtual float GetHeaderVersion() const = 0;
/**
* Get the plugin's version number from its description field.
*