private void Form1_Load(object sender, EventArgs e) { Caronte.Caronte caronte = new Caronte.Caronte(); caronte.Init("Expansion01"); Pather.Graph.Path path = caronte.CalculatePath(new Pather.Graph.Location(240.94f, 2692.39f, 89.74f), new Pather.Graph.Location(189.63f, 2690.94f, 88.71f)); foreach (Pather.Graph.Location loc in path.locations) { Console.WriteLine("X: {0}\t\tY: {1}\t\tZ: {2}", loc.X, loc.Y, loc.Z); } }
/// <summary> /// Class constructor /// </summary> static ProcessManager() { config = new Config(); wowProcess = new BlackMagic(); CommandManager = new CommandManager(); Injector = new InjectionManager(); TLS = 0x0; Profile = new Profile(); WowHWND = 0; BotManager = new BotManager(); ScriptHost = new Host(); WayPointManager.Instance.Init(); Caronte = new Caronte.Caronte(); }