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