public void run() { ServerConfiguration config = new ServerConfiguration(); Telemachus.VesselChangeDetector vesselChangeDetector = new Telemachus.VesselChangeDetector(false); Telemachus.KSPAPI api = new Telemachus.KSPAPI(Telemachus.JSONFormatterProvider.Instance, vesselChangeDetector, config, null); List <Telemachus.APIEntry> apiList = new List <Telemachus.APIEntry>(); api.getAPIList(ref apiList); writeToMarkdownWiki(Path.Combine(Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName, "Telemachus.wiki"), "API-String.md", ref apiList); }
public DataLinkResponsibility(FormatterProvider formatters, ServerConfiguration serverConfiguration) { kspAPI = new KSPAPI(formatters, vesselChangeDetector, serverConfiguration); }