Gears

GearsSettingsManager

Static access to every mod Gears knows about, without waiting for a callback.

Abstract classNamespace GearsAPI.SettingsAssembly GearsAPI.dllSource
public abstract class GearsSettingsManager

Static 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.

On this page