Exemplo n.º 1
0
 /// <summary>
 /// Instantiates a movementhelper, start recording 
 /// positions for 30 seconds to a file named my_waypoint.
 /// Copy that file over to the program called PlayWaypoint
 /// </summary>
 /// <param name="args"></param>
 private static void Main(string[] args)
 {
     FFXIVLIB instance = new FFXIVLIB();
     MovementHelper mh = instance.GetMovementHelper();
     mh.StartRecordingCoordinates("my_waypoint");
     Thread.Sleep(30000);
     mh.StopRecordingWaypoint();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Please run the RecordWaypoint program first 
 /// and copy the file generated over to this demo.
 /// We instantiate a MovementHelper instance and pass the filename to be played.
 /// </summary>
 /// <param name="args"></param>
 private static void Main(string[] args)
 {
     FFXIVLIB instance = new FFXIVLIB();
     MovementHelper mh = instance.GetMovementHelper();
     mh.PlayWaypoint("my_waypoint");
     // Run for 5 seconds, then pause the running for 10 seconds
     Thread.Sleep(5000);
     mh.PauseWaypoint();
     Thread.Sleep(10000);
     mh.PauseWaypoint();
 }