Plugins: Add PostProcessMetadata hook

This commit is contained in:
Katy Coe
2020-12-19 20:50:37 +01:00
parent 2aa9b9f45b
commit 735dc2824b
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
/*
Copyright 2020 Katy Coe - http://www.djkaty.com - https://github.com/djkaty
All rights reserved.
*/
// This is the ONLY line to update when the API version changes
using Il2CppInspector.PluginAPI.V100;
namespace Il2CppInspector
{
// Hooks we provide to plugins which can choose whether or not to provide implementations
internal static class PluginHooks
{
public static void PostProcessMetadata(Metadata metadata) => PluginManager.Try<IPostProcessMetadata>(p => p.PostProcessMetadata(metadata));
}
}