Ejemplo n.º 1
0
        void IActPluginV1.DeInitPlugin()
        {
            this.core?.EndPlugin();

            AssemblyResolver.Free();
            this.core?.Dispose();
            this.core = null;
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
 public void Dispose()
 {
     instance = null;
 }
Ejemplo n.º 5
0
 public PluginCore()
 {
     instance = this;
 }
Ejemplo n.º 6
0
 void IActPluginV1.DeInitPlugin()
 {
     this.core?.EndPlugin();
     this.core?.Dispose();
     this.core = null;
 }