Example #1
0
 private void RunBlindBotButton_Click(object sender, EventArgs e)
 {
     if (this.instance == null)
     {
         this.instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance();
     }
     GameWindow.BringToForeground();
     this.instance.ControlBot.GiveControl(this.instance);
 }
Example #2
0
        private void StartButton_Click(object sender, EventArgs e)
        {
            this.Invoke(new Action(() => {
                this.instance                = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance();
                this.Status.Text             = "Default Instance Aquired.";
                this.instance.ClockInfoPanel = this.ClockSearchProgress;

                this.Status.Text = "Beginning Search...";
                instance.SearchForMatch(TimeSpan.FromSeconds(120));
            }));
        }
Example #3
0
 private void LaunchNewInstanceButton_Click(object sender, EventArgs e)
 {
     this.instance = DefaultRocketLeagueInstance.OpenNewInstance();
 }
Example #4
0
 public TestGui()
 {
     InitializeComponent();
     instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance();
 }