sarbian / ModuleManager

177 stars 95 forks source link

Allow assemblies to add to mod list #140

Closed blowfishpro closed 5 years ago

blowfishpro commented 5 years ago

Fix to allow Kerbalism to define some feature toggles

Allow ModuleManagerAddToModList callback to be defined as a static method or on MonoBehaviour instances which returns an IEnumerable to be added to the mod list

It will always be called on the main thread

Result will also be added to the config sha to ensure proper cache invalidation