Plugins: Add more hooks boilerplate

This commit is contained in:
Katy Coe
2020-12-29 01:31:04 +01:00
parent 0c25465c31
commit 964d845fd4
3 changed files with 88 additions and 7 deletions

View File

@@ -50,6 +50,11 @@ namespace Il2CppInspector.PluginAPI.V100
public PluginErrorEventArgs Error { get; set; } = null;
}
/// <summary>
/// Event info for OptionsChanged
/// </summary>
public class PluginOptionsChangedEventInfo : PluginEventInfo { }
/// <summary>
/// Event info for LoadPipelineStarting
/// </summary>
@@ -66,11 +71,6 @@ namespace Il2CppInspector.PluginAPI.V100
public bool SkipValidation { get; set; }
}
/// <summary>
/// Event info for OptionsChanged
/// </summary>
public class PluginOptionsChangedEventInfo : PluginEventInfo { }
/// <summary>
/// Event info for PostProcessMetadata
/// </summary>
@@ -98,6 +98,26 @@ namespace Il2CppInspector.PluginAPI.V100
public List<string> StringLiterals { get; set; } = new List<string>();
}
/// <summary>
/// Event info for PreProcessImage
/// </summary>
public class PluginPreProcessImageEventInfo : PluginEventInfo { }
/// <summary>
/// Event info for PostProcessImage
/// </summary>
public class PluginPostProcessImageEventInfo : PluginEventInfo { }
/// <summary>
/// Event info for PreProcessBinary
/// </summary>
public class PluginPreProcessBinaryEventInfo : PluginEventInfo { }
/// <summary>
/// Event info for PostProcessBinary
/// </summary>
public class PluginPostProcessBinaryEventInfo : PluginEventInfo { }
/// <summary>
/// Event info for PostProcessPackage
/// </summary>
@@ -112,4 +132,9 @@ namespace Il2CppInspector.PluginAPI.V100
/// Event info for LoadPipelineEnding
/// </summary>
public class PluginLoadPipelineEndingEventInfo : PluginEventInfo { }
/// <summary>
/// Event info for PostProcessAppModel
/// </summary>
public class PluginPostProcessAppModelEventInfo : PluginEventInfo { }
}