예제 #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);
 }
예제 #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));
            }));
        }
예제 #3
0
파일: TestGui.cs 프로젝트: n8bits/RocketPal
 private void LaunchNewInstanceButton_Click(object sender, EventArgs e)
 {
     this.instance = DefaultRocketLeagueInstance.OpenNewInstance();
 }
예제 #4
0
파일: TestGui.cs 프로젝트: n8bits/RocketPal
 public TestGui()
 {
     InitializeComponent();
     instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance();
 }