コード例 #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
 public TestGui()
 {
     InitializeComponent();
     instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance();
 }