This release includes backwards compatibility for 0.1 mods, due to popular demand. (May be too little, too late, but that doesn't bother me.) Mods (legacy included) may now ship with metadata to define basic information about the mod. Mods may now define a basic dependency tree in case they depend on the existence of other mods.
This release also sees the change in behavior of mod instantiation to allow for dependency injection, meaning mods should be able to 'request' services and functionality that they might require. My intent is to expand this service library to enable various interesting changes and features.
The first service available is IFileConfigProvider
which provides mods with an API for easily reading and writing (relatively) type-safe config files.
Changelog
Mod Loader Changes:
- Internals updated. These are the code and components that you don't notice as a user. I've done a bit of re-writing. This does not break compatibility.
- Mods may now define metadata to provide information about themselves.
- Currently used in the dependency resolution functionality.
- Mods may now 'depend' on other mods so that they won't load unless the other mods are present.