示例#1
0
        void IActPluginV1.DeInitPlugin()
        {
            PluginCore.Instance?.DeInitPluginCore();

            PluginCore.Free();
            AssemblyResolver.Free();
        }
 public static void Free()
 {
     if (instance != null)
     {
         instance.PluginRoot = null;
         instance            = null;
     }
 }
示例#3
0
 void IActPluginV1.InitPlugin(
     TabPage pluginScreenSpace,
     Label pluginStatusText)
 {
     PluginCore.Initialize(this);
     PluginCore.Instance?.InitPluginCore(
         pluginScreenSpace,
         pluginStatusText);
 }
示例#4
0
        void IActPluginV1.InitPlugin(
            TabPage pluginScreenSpace,
            Label pluginStatusText)
        {
            Assembly.Load("FFXIV.Framework");

            PluginCore.Initialize(this);
            PluginCore.Instance?.InitPluginCore(
                pluginScreenSpace,
                pluginStatusText);
        }
示例#5
0
        void IActPluginV1.InitPlugin(
            TabPage pluginScreenSpace,
            Label pluginStatusText)
        {
            Assembly.Load("FFXIV.Framework");

            DirectoryHelper.GetPluginRootDirectoryDelegate = () => ActGlobals.oFormActMain?.PluginGetSelfData(this)?.pluginFile.DirectoryName;

            PluginCore.Initialize(this);
            PluginCore.Instance?.InitPluginCore(
                pluginScreenSpace,
                pluginStatusText);
        }
 public static void Initialize(
     IActPluginV1 plugin)
 {
     instance            = new PluginCore();
     instance.PluginRoot = plugin;
 }
示例#7
0
 void IActPluginV1.DeInitPlugin()
 {
     PluginCore.Instance?.DeInitPluginCore();
     PluginCore.Free();
 }