Plugins: Simplify event data; add GetStrings and GetStringLiterals

This commit is contained in:
Katy Coe
2020-12-21 22:54:01 +01:00
parent fbc8e0950c
commit 3e27cd25e9
5 changed files with 112 additions and 79 deletions

View File

@@ -209,7 +209,7 @@ namespace Il2CppInspector
// Try to cast each enabled plugin to a specific interface type, and for those supporting the interface, execute the supplied delegate
// Errors will be forwarded to the error handler
internal static E Try<I, E>(Action<I, E> action) where E : IPluginEventInfo, new()
internal static E Try<I, E>(Action<I, E> action) where E : PluginEventInfo, new()
{
var eventInfo = new E();