KMBossModule - Qkrisi/ktanemodkit GitHub Wiki
KMBossModule
public class KMBossModule : MonoBehaviour
A boss module is most of the time a module, that changes every time another (non-ignored) module gets solved and requires an input based on these changes, when every other (non-ignored) module is solved.
This component is used to handle module ignore lists. On these lists there are modules that the boss module doesn't require to be solved and doesn't change when they are solved.
public string[] GetIgnoredModuleIDs(KMBombModule module, string[] @default = null)
Returns an array of module IDs that should be ignored.
public string[] GetIgnoredModules(KMBombModule module, string[] @default = null, bool ids = false)
Returns an array of module names that should be ignored if ids
is false, otherwise an array of module IDs that should be ignored.
public string[] GetIgnoredModules(string moduleName, string[] @default = null, bool ids = false)
Returns an array of module names that should be ignored if ids
is false
, otherwise an array of module IDs that should be ignored based on the given module name or ID.
If there's internet connection and the Boss Module Manager mod is enabled, the returned arrays will be based on the ignore list set on the Repository of Manual Pages.
Otherwise, it will return the specified @default
array if it's not null
, otherwise an empty array.