HugsLib 9.0 for Rimworld 1.3 API Changes - UnlimitedHugs/RimworldHugsLib GitHub Wiki
As per usual, other than in the cases listed below, existing mod assemblies are still compatible with this version.
Breaking changes
SettingHandleConvertibleUtility
(XML serialization methods for custom SettingHandle
s)
Moved from HugsLib.Source.Settings
to HugsLib.Settings
namespace.
Dialog_VanillaModSettings
Moved from Rimworld
to HugsLib.Settings
namespace.
UpdateFeatureManager.InspectActiveMod
Method removed. Use XML files in the /news
folder to show mod update news instead.
HugsLibUtility.AwaitUnityWebResponse
Made internal, scheduled for removal. Use System.Net.WebClient
to make web requests.
Additions
SettingHandle.ValueChanged
event
This event replaces SettingHandle<T>.OnValueChanged
delegate, which still works but has been marked as obsolete.
The event is also used by the Mod Settings window to automatically show updated values when assigning setting handle values via code while the window is open.