예제 #1
0
        void IBattleNetClientEventSource.OnClientCheckFailed(ClientCheckFailedEventArgs args)
        {
            var temp = ClientCheckFailed;

            if (temp != null)
            {
                temp(this, args);
            }
        }
예제 #2
0
 public void OnClientCheckFailed(ClientCheckFailedEventArgs e)
 {
     m_host.OnClientCheckFailed(e);
 }
 public void OnClientCheckFailed(ClientCheckFailedEventArgs e)
 {
     m_host.OnClientCheckFailed(e);
 }
예제 #4
0
 private void OnClientCheckFailed(ClientCheckFailedEventArgs args)
 {
     ((IBattleNetClientEventSource)this).OnClientCheckFailed(args);
 }
예제 #5
0
파일: Program.cs 프로젝트: Mofsy/jinxbot
 static void client_ClientCheckFailed(object sender, ClientCheckFailedEventArgs e)
 {
     PrintTidTs(DateTime.Now);
     console.OutputForegroundColor = ConsoleColor.DarkMagenta;
     console.WriteLine("Version check failed, disconnecting...");
     console.WriteLine("Error note: {0}", e.Reason);
     (sender as BattleNetClient).Disconnect();
 }