Exemple #1
0
        void IActPluginV1.DeInitPlugin()
        {
            this.core?.EndPlugin();

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