Exemple #1
0
 public XIWindower(int pid): base (pid)
 {
     Process p = Process.GetProcessById((int)pid);
     Player = new Player(p);
     Inventory = new Inventory(p);
     Fishing = new Fishing(p);
 }
Exemple #2
0
        public XIWindower(int pid)
            : base(pid)
        {
            this._Pid = pid;

            Process p = Process.GetProcessById((int) pid);
            p.Exited += new EventHandler(ProcessExitedEventHandler);

            this._pol = new PolProcess(p);

            this.Player = new Player(this);
            this.Inventory = new Inventory(this);
            this.Fishing = new Fishing(this);
            this.Craft = new Craft(this);
            this.Menu = new Menu(this);
        }
Exemple #3
0
 static void CheckBuffs(Player player)
 {
     int c = 0;
     Console.WriteLine("== Checking Buffs ==");
     Console.Write("List Buffs:");
     foreach (eBuff b in player.ListBuffs())
     {
         if (b == eBuff.Undefined) break;
         Console.Write("{0} ", b);
         c++;
     }
     Console.WriteLine("({0} buffs)", c);
     Console.WriteLine();
 }