Exemplo n.º 1
0
 static void Main(string[] args)
 {
     FFXIVLIB instance = new FFXIVLIB();
     var nodeList = instance.GetEntityByType(TYPE.Gathering);
     foreach (Entity e in nodeList)
     {
         Console.WriteLine("{0} {1}", e.Name, e.Structure.GatheringStatus);
     }
     Console.ReadLine();
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     FFXIVLIB instance = new FFXIVLIB();
     while (true)
         {
             var nodeList = instance.GetEntityByType(TYPE.Player);
             foreach (Entity e in nodeList)
                 {
                     Console.WriteLine("{0} {1}{2}", e.Name, ResourceParser.GetJobShortname(e.Job), e.Level);
                 }
             Thread.Sleep(2000);
             Console.Clear();
         }
 }
Exemplo n.º 3
0
 static void Main(string[] args)
 {
     FFXIVLIB instance = new FFXIVLIB();
     int iterations = 100;
     while (true)
         {
             Stopwatch sw = Stopwatch.StartNew();
             for (int i = 0; i < iterations; i++)
                 {
                     instance.GetEntityByType(TYPE.Player);
                 }
             sw.Stop();
             Console.WriteLine((sw.ElapsedMilliseconds/iterations).ToString());
         }
 }