API ReferenceSettings
GearsSettingsManager
Static access to every mod Gears knows about, without waiting for a callback.
public abstract class GearsSettingsManagerStatic access to every mod Gears knows about, for code that wants a setting without waiting for an IGearsModApi callback. Populated by Gears at GameAwake; before that, both methods return empty results.
Inheritance: Object → GearsSettingsManager
Methods
GetMods()
public static List<IGearsMod> GetMods()Returns every loaded mod as a List<IGearsMod>, in the game's load order. Returns an empty list before Gears has initialized.
GetGearsMod(String)
public static IGearsMod GetGearsMod(string modName)Returns the IGearsMod whose ModInfo.xml <Name> equals modName, or null if there is none or Gears has not initialized.