Skip to content

Library Global HMM

Gabriel edited this page Sep 26, 2023 · 3 revisions

HMM

Provides methods for getting data exported by Hedge Mod Manager.

Functions;

  • Dictionary<string, Dictionary<string, string>> GetModsDatabase() - returns the current mods database as an INI dictionary.
  • List<Mod> GetMods() - returns the current active mods from the mods database.
  • List<string> GetCodes() - returns the current active codes from the mods database.
  • List<Mod> FindModsByName(string in_name) - returns a list of active mods that contain the input string.

Types;

  • class Mod - a class containing useful members parsed from a mod's INI file.
    • Members;
      • string Name - the name of the mod.
      • string Version - the version string of the mod.
      • string Author - the author of the mod.
      • string Path - the path to the mod.
      • Dictionary<string, Dictionary<string, string>> Ini - parsed INI data into a dictionary.
Clone this wiki locally