using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using System.Net; using System.Xml.Linq; using System.IO; namespace TagAPI { public class Class1 { //how this works... //folder names read by main application and shown in listbox //user selects and version gets saved in versionselect.txt //(this application)application reads versionselect.txt (-) and reads json and makes arguments and then create a new txt file and run the argument. //go back to main app. class atomMinecraft { internal static Dictionary<string, string[]> versionData = new Dictionary<string, string[]> { . . . } static void Main() { //Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData string text = System.IO.File.ReadAllText(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "/.minecraft/TagCraftMC Files/Settings/versionselect.txt"); }
public static void main()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)