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

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

private static BattlEyeDisconnected ( BattlEyeDisconnectEventArgs args ) : void
args BattleNET.BattlEyeDisconnectEventArgs
Результат void
        private static void BattlEyeDisconnected(BattlEyeDisconnectEventArgs args)
        {
            //if (args.DisconnectionType == BattlEyeDisconnectionType.ConnectionLost) { /* Connection lost (timeout), if ReconnectOnPacketLoss is set to true it will reconnect */ }
            //if (args.DisconnectionType == BattlEyeDisconnectionType.SocketException) { /* Something went terribly wrong... */ }
            //if (args.DisconnectionType == BattlEyeDisconnectionType.Manual) { /* Disconnected by implementing application, that would be you */ }

            Console.WriteLine(args.Message);
        }