BattleNET_client.Program.BattlEyeConnected C# (CSharp) Метод

BattlEyeConnected() приватный статический Метод

private static BattlEyeConnected ( BattlEyeConnectEventArgs args ) : void
args BattleNET.BattlEyeConnectEventArgs
Результат void
        private static void BattlEyeConnected(BattlEyeConnectEventArgs args)
        {
            //if (args.ConnectionResult == BattlEyeConnectionResult.Success) { /* Connected successfully */ }
            //if (args.ConnectionResult == BattlEyeConnectionResult.InvalidLogin) { /* Connection failed, invalid login details */ }
            //if (args.ConnectionResult == BattlEyeConnectionResult.ConnectionFailed) { /* Connection failed, host unreachable */ }

            Console.WriteLine(args.Message);
        }