Releases: ow-mods/owml
Releases · ow-mods/owml
2.9.8
- Update game versions and game libs.
2.9.7
Removed the in-depth type checks on enums in API methods.
- This means that enums in APIs will accept any value, as long as the enum has the same name as uses the same underlying type.
- API providers can add entries to their enums or change entry names.
- Mods that use an old version of the enum will still work (provided that no entries were deleted and no value of any entries were changed).
- It will be up to the API vendors / consumers to handle unknown/deprecated/new values.
2.9.6
APIs can now use custom enums. The enums need to be identical on both sides. That means the :
- Type name
- Amount of entries in the enum
- The underlying type (int, uint, ulong, etc.)
- Value of each entry
has to be the same.
Here's an example from the QSB TTS addon :
public interface ITTSAPI
{
void PlayTTS(string text, TTSVoice voice);
public enum TTSVoice : uint
{
Paul,
Betty,
Harry,
Frank,
Dennis,
Kit,
Ursula,
Rita,
Wendy
}
}
2.9.5
- Improved API to make more parameters work. For example :
Action<int, T>
now worksAction<Action<int>, T>
should now work, if you want to commit a sin.Action<Action<Action<int, T, Action<T>>, T>
should work, but only if you want to lose all your friends.
2.9.4
- The mod list is now pre-sorted by the unique name, so mods with the same dependents (addons) will be loaded in the same order every time.
- Mod APIs now support generic parameters.
2.9.3
actually fix the nuget (please)
2.9.2
Fix nuget packing
2.9.1
- Fixes cyclic dependency of disabled mods breaking load order
2.9.0
- Fix incorrect Obsolete attributes.
- If assembly loading fails, continue normally.
- Add
dlcOnly
property to mod options, so the option only appears in menus if the player owns the DLC. - Change incremental GC option to default to enabled.
- Better dialogue for GameVersionHandler.
2.8.0
- Deprecated OWML.ModHelper.Events. Use HarmonyHelper instead, it's better and more reliable.
- Added incremental GC option to in-game OWML config menu.
- Added tooltips to in-game OWML config menu.