void IActPluginV1.DeInitPlugin() { this.core?.EndPlugin(); AssemblyResolver.Free(); this.core?.Dispose(); this.core = null; }
void IActPluginV1.InitPlugin( TabPage pluginScreenSpace, Label pluginStatusText) { Assembly.Load("FFXIV.Framework"); this.GetPluginLocation(); this.core = new PluginCore(); this.core.PluginDirectory = this.pluginDirectory; this.core.PluginLocation = this.pluginLocation; this.core.StartPlugin( pluginScreenSpace, pluginStatusText); }
void IActPluginV1.InitPlugin( TabPage pluginScreenSpace, Label pluginStatusText) { Assembly.Load("FFXIV.Framework"); DirectoryHelper.GetPluginRootDirectoryDelegate = () => ActGlobals.oFormActMain?.PluginGetSelfData(this)?.pluginFile.DirectoryName; this.GetPluginLocation(); this.core = new PluginCore(); this.core.PluginDirectory = this.pluginDirectory; this.core.PluginLocation = this.pluginLocation; this.core.StartPlugin( pluginScreenSpace, pluginStatusText); }
public void Dispose() { instance = null; }
public PluginCore() { instance = this; }
void IActPluginV1.DeInitPlugin() { this.core?.EndPlugin(); this.core?.Dispose(); this.core = null; }