github IllusionMods/IllusionModdingAPI v1.9.4
Illusion Modding API v1.9.4

latest releases: v1.39, v1.38, v1.37...
4 years ago

Changelog

  • Added BindToFunctionController for binding maker controls to function controllers
  • Fixed character maker reload firing too early, sometimes losing data until the card is loaded again (AI-S)
  • Fixed KoikatuAPI.GetCurrentGameMode not working with studio (AI-S)
  • Fixed long accessory names being wrapped in maker instead of scaled down to fit (AI-S)
  • Fixed long text in maker dropdowns being wrapped instead of scaled down to fit (AI-S, most visible with UncensorSelector)
  • Fixed overwriting plugin data in Studio when current state menu is opened and another character is selected (KK, AI-S)
  • Consolidated disposed control throwing code

Example use of BindToFunctionController:

var makerToggle = e.AddControl(new MakerToggle(MakerConstants.Body.All, "My toggle", this));
makerToggle.BindToFunctionController<MyCustomController, bool>(
    (controller) => controller.MySetting,
    (controller, value) => controller.MySetting = value);

Don't miss a new IllusionModdingAPI release

NewReleases is sending notifications on new releases.