I have no idea how to use plugins.
I’ve already added it to my manifest like this
(I have put this sample inside my project overwolf-plugins/sample_apps/process_manager at master · overwolf/overwolf-plugins · GitHub), but I can’t unblock the DLL, there didn’t have the option)
And use this function to get the plugin object
overwolf.extensions.current.getExtraObject(pluginName, (result) => {
if (result.success) {
return result.object;
}
});
It jump out an error with Failed to create plugin instance
,
Is there anything I missed?? Thank you
Hi!
I’m not 100% sure what is happening based on just the screenshots, however I did notice a few things that looked weird:
- First of all, the link is to the process manager sample app, rather than the simple io sample app.
- In the first image, you seem to declare its class as
overwolf.plugins.simpleio.SimpleIOPlugin
, however, as you can see in the sample app, it should be declared as overwolf.plugins.SIMPLEIOPlugin
.
- i’m not sure what the
pluginName
passed in the second picture is, but it might be worth taking a deeper look at it.
Hope that helps!
edit: You also mentioned that you couldn’t unblock the dll? Does that mean that the process described here didn’t work?