Normal
Hi Migue almost there You are still missing one case: A GUI plugin that does not implement any of the interfaces.Taken from MP Core.dll PluginManager.cs LoadWindowPlugin()[code]t => t.IsClass && !t.IsAbstract && t.IsSubclassOf(typeof(GUIWindow))[/code]So in Util.IsPlugin() in MpeCore.dll add:[code]if (!type.IsAbstract){if...if (type.IsClass && type.IsSubclassOf(typeof(GUIWindow))) return true;}[/code]Greets!
Hi Migue almost there You are still missing one case: A GUI plugin that does not implement any of the interfaces.
Taken from MP Core.dll PluginManager.cs LoadWindowPlugin()
[code]
t => t.IsClass && !t.IsAbstract && t.IsSubclassOf(typeof(GUIWindow))
[/code]
So in Util.IsPlugin() in MpeCore.dll add:
if (!type.IsAbstract)
{
if...
if (type.IsClass && type.IsSubclassOf(typeof(GUIWindow))) return true;
}
Greets!