Пример #1
0
        void IActPluginV1.DeInitPlugin()
        {
            PluginCore.Instance?.DeInitPluginCore();

            PluginCore.Free();
            AssemblyResolver.Free();
        }
Пример #2
0
 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);
        }
Пример #6
0
 public static void Initialize(
     IActPluginV1 plugin)
 {
     instance            = new PluginCore();
     instance.PluginRoot = plugin;
 }
Пример #7
0
 void IActPluginV1.DeInitPlugin()
 {
     PluginCore.Instance?.DeInitPluginCore();
     PluginCore.Free();
 }