BattleNET_client.Program.BattlEyeConnected C# (CSharp) Méthode

BattlEyeConnected() private static méthode

private static BattlEyeConnected ( BattlEyeConnectEventArgs args ) : void
args BattleNET.BattlEyeConnectEventArgs
Résultat 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);
        }