diff --git a/Dalamud/Plugin/ActivePluginsChangedEventArgs.cs b/Dalamud/Plugin/ActivePluginsChangedEventArgs.cs
index 0c857be79..7a3991dcd 100644
--- a/Dalamud/Plugin/ActivePluginsChangedEventArgs.cs
+++ b/Dalamud/Plugin/ActivePluginsChangedEventArgs.cs
@@ -2,10 +2,8 @@ using System.Collections.Generic;
namespace Dalamud.Plugin;
-///
-/// Contains data about changes to the list of active plugins.
-///
-public class ActivePluginsChangedEventArgs : EventArgs
+///
+public class ActivePluginsChangedEventArgs : EventArgs, IActivePluginsChangedEventArgs
{
///
/// Initializes a new instance of the class
@@ -19,13 +17,9 @@ public class ActivePluginsChangedEventArgs : EventArgs
this.AffectedInternalNames = affectedInternalNames;
}
- ///
- /// Gets the invalidation kind that caused this event to be fired.
- ///
+ ///
public PluginListInvalidationKind Kind { get; }
- ///
- /// Gets the InternalNames of affected plugins.
- ///
+ ///
public IEnumerable AffectedInternalNames { get; }
}
diff --git a/Dalamud/Plugin/DalamudPluginInterface.cs b/Dalamud/Plugin/DalamudPluginInterface.cs
index 25c998a42..541071b63 100644
--- a/Dalamud/Plugin/DalamudPluginInterface.cs
+++ b/Dalamud/Plugin/DalamudPluginInterface.cs
@@ -489,7 +489,7 @@ internal sealed class DalamudPluginInterface : IDalamudPluginInterface, IDisposa
/// Dispatch the active plugins changed event.
///
/// The event arguments containing information about the change.
- internal void NotifyActivePluginsChanged(ActivePluginsChangedEventArgs args)
+ internal void NotifyActivePluginsChanged(IActivePluginsChangedEventArgs args)
{
foreach (var action in Delegate.EnumerateInvocationList(this.ActivePluginsChanged))
{
diff --git a/Dalamud/Plugin/IActivePluginsChangedEventArgs.cs b/Dalamud/Plugin/IActivePluginsChangedEventArgs.cs
new file mode 100644
index 000000000..17c4347c7
--- /dev/null
+++ b/Dalamud/Plugin/IActivePluginsChangedEventArgs.cs
@@ -0,0 +1,19 @@
+using System.Collections.Generic;
+
+namespace Dalamud.Plugin;
+
+///
+/// Contains data about changes to the list of active plugins.
+///
+public interface IActivePluginsChangedEventArgs
+{
+ ///
+ /// Gets the invalidation kind that caused this event to be fired.
+ ///
+ PluginListInvalidationKind Kind { get; }
+
+ ///
+ /// Gets the InternalNames of affected plugins.
+ ///
+ IEnumerable AffectedInternalNames { get; }
+}
diff --git a/Dalamud/Plugin/IDalamudPluginInterface.cs b/Dalamud/Plugin/IDalamudPluginInterface.cs
index 1a1a47403..e98398a16 100644
--- a/Dalamud/Plugin/IDalamudPluginInterface.cs
+++ b/Dalamud/Plugin/IDalamudPluginInterface.cs
@@ -33,7 +33,7 @@ public interface IDalamudPluginInterface
/// Delegate for events that listen to changes to the list of active plugins.
///
/// The event arguments containing information about the change.
- public delegate void ActivePluginsChangedDelegate(ActivePluginsChangedEventArgs args);
+ public delegate void ActivePluginsChangedDelegate(IActivePluginsChangedEventArgs args);
///
/// Event that gets fired when loc is changed