コード例 #1
0
 private void Callbacks_BeginChallenge(object sender, BeginChallengeEventArgs e)
 {
     RunCatchLog(() =>
     {
         CurrentChallengeInfo = e.ChallengeInfo; // cache current challenge info
         GetServerOptions();                     // cache current server options
         GetCurrentGameMode();                   // cache current game mode
     }, "Error in Callbacks_BeginChallenge Method.", true);
 }
コード例 #2
0
 private void Callbacks_BeginChallenge(object sender, BeginChallengeEventArgs e)
 {
     RunCatchLog(() =>
     {
         lock (_cpReadWriteLock)
         {
             BestCheckPoints = new Dictionary <string, Dictionary <int, int> >();
         }
     }, "Error in Callbacks_BeginChallenge Method.", true);
 }