예제 #1
0
 private void CustomEventManager_MulliganStarted(object sender, MulliganStartedEventArgs e)
 {
     Log.InfoFormat("CustomEventManager_MulliganStarted");
     if (_realWinRate >= _winRateThreshold)
     {
         e.ConcedeSuccessfully = TritonHs.Concede(true);
     }
 }
예제 #2
0
        private void ButtonConcede_Click(object sender, EventArgs e)
        {
            bool success = TritonHs.Concede(true);

            if (success)
            {
                MessageBox.Show(@"Concede successfully!");
            }
            else
            {
                MessageBox.Show(@"Concede failed!");
            }
        }