コード例 #1
0
 private void initBotHandler()
 {
     if (this.settingsLoaded)
     {
         this.memory = new FinalFantasyXIVMemory();
     }
 }
コード例 #2
0
ファイル: Movement.cs プロジェクト: trananh1992/ffxiv_bot
        public Movement(FinalFantasyXIVMemory memory, FinalFantasyKeyboard keyboard)
        {
            this.timer          = new System.Windows.Forms.Timer();
            this.timer.Interval = SettingsSingleton.Instance.timings.movementUpdateTick;
            this.timer.Tick    += new System.EventHandler(this.__moving);

            this._adjustTimer          = new System.Windows.Forms.Timer();
            this._adjustTimer.Interval = SettingsSingleton.Instance.timings.movementUpdateTick;
            this._adjustTimer.Tick    += new System.EventHandler(this.singleAdjusting);

            this.memory   = memory;
            this.keyboard = keyboard;
        }
コード例 #3
0
        public WaypointForm(FFXIV_netBot mainForm, FinalFantasyXIVMemory memory)
        {
            this.TopMost = true;
            InitializeComponent();
            this.closeButton                       = new Controls.ImageButton();
            this.closeButton.Parent                = this;
            this.closeButton.ForeColor             = Color.Transparent;
            this.closeButton.BackgroundImage       = global::FFXIV_netBot.Properties.Resources.closeBtn;
            this.closeButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.closeButton.Location              = new System.Drawing.Point(590, 11);
            this.closeButton.Name                  = "button1";
            this.closeButton.Size                  = new System.Drawing.Size(19, 18);
            this.closeButton.TabStop               = false;
            this.closeButton.Click                += new System.EventHandler(this.exitPressed);
            this.Controls.Add(this.closeButton);

            this.mainForm           = mainForm;
            this.memory             = memory;
            this.fileNameLabel.Text = "";
            this.waypointList       = new List <Waypoint>();
        }