private void Teleport_ListView(ListView list) { if (list.SelectedItems.Count == 1) { Vector3 location = list.SelectedItems[0].Tag as Vector3; var address = new Pointer(xivgame.Process, xivgame.Definitions.ActorTable + 8, 0); FFXIV_Core.TeleportTo(location); } }
private void button1_Click(object sender, EventArgs e) { Vector3 newLocation = new Vector3(FFXIV_Core.MapToMemory((float)numericUpDown1.Value), 60f, FFXIV_Core.MapToMemory((float)numericUpDown2.Value)); FFXIV_Core.TeleportTo(newLocation); }