#pragma once #include "plugin/PluginContainer.h" #include "plugin/PluginLoadWrapper.h" #include #include #include #include #include class PluginManagement { public: static std::vector loadPlugins( const std::vector &pluginDataList, std::vector &trampolineData); static void callInitHooks(const std::vector &plugins); static bool doRelocations(const std::vector &plugins, std::vector &trampData, std::map &usedRPls); static bool doRelocation(const std::vector &relocData, std::vector &trampData, uint32_t trampolineID, std::map &usedRPls); static bool DoFunctionPatches(std::vector &plugins); static bool RestoreFunctionPatches(std::vector &plugins); };