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

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