private void initBotHandler() { if (this.settingsLoaded) { this.memory = new FinalFantasyXIVMemory(); } }
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; }
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>(); }