예제 #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);
 }
예제 #2
0
파일: XIWindower.cs 프로젝트: anondev/XIACE
        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);
        }
예제 #3
0
파일: Program.cs 프로젝트: ff11mail/ff11rcm
 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();
 }