Refactor and stuff
This commit is contained in:
21
Torch.API/IPluginManager.cs
Normal file
21
Torch.API/IPluginManager.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using VRage.Collections;
|
||||
using VRage.Plugins;
|
||||
|
||||
namespace Torch.API
|
||||
{
|
||||
public interface IPluginManager
|
||||
{
|
||||
ListReader<IPlugin> Plugins { get; }
|
||||
|
||||
string[] GetPluginFolders();
|
||||
string GetPluginName(Type pluginType);
|
||||
void LoadAllPlugins();
|
||||
void LoadPlugin(IPlugin plugin);
|
||||
void LoadPluginFolder(string folderName);
|
||||
void ReloadAll();
|
||||
void ReloadPlugin(IPlugin plugin, bool forceNonPiston = false);
|
||||
bool UnblockDll(string fileName);
|
||||
void UnloadPlugin(IPlugin plugin);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user