static string FindModPath()
 {
     PluginManager.PluginInfo plugin = FindPlugin();
     if (plugin != null)
     {
         return(plugin.modPath);
     }
     else
     {
         throw new Exception("Cannot find plugin path.");
     }
 }
Example #2
0
 public Plugin(IPluginHost _host, PluginInfo _info)
 {
     Host = _host;
     Info = _info;
 }
 public Plugin(IPluginHost _host, PluginInfo _info)
 {
     Host = _host;
     Info = _info;
 }