Ejemplo n.º 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);
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 static void CheckFishing(Fishing fishing)
 {
     Console.WriteLine("== Checking Fishing ==");
     Console.WriteLine("Fish HP: {0}/{1}", fishing.GetFishHP(),fishing.GetFishMaxHP());
     Console.WriteLine("Fish ID: {0} {1} {2} {3}", fishing.GetFishID1(), fishing.GetFishID2(), fishing.GetFishID3(), fishing.GetFishID4());
     Console.WriteLine("Timeout: {0}", fishing.GetFishTimeout());
     Console.WriteLine();
 }