using OtterGui.Classes; using Penumbra.Api.Api; using Penumbra.Api.Enums; using Penumbra.Collections; using Penumbra.Mods; using Penumbra.Mods.Settings; namespace Penumbra.Communication; /// /// Triggered whenever a mod setting is changed. /// /// Parameter is the collection in which the setting was changed. /// Parameter is the type of change. /// Parameter is the mod the setting was changed for, unless it was a multi-change. /// Parameter is the old value of the setting before the change as Setting. /// Parameter is the index of the changed group if the change type is Setting. /// Parameter is whether the change was inherited from another collection. /// /// public sealed class ModSettingChanged() : EventWrapper(nameof(ModSettingChanged)) { public enum Priority { /// Api = int.MinValue, /// CollectionCacheManager = 0, /// ItemSwapTab = 0, /// ModFileSystemSelector = 0, /// ModSelection = 10, } }