Ejemplo n.º 1
0
        public override void KickClient(string reason)
        {
            string result = "";

            result  = $"\n\nMESSAGE FROM SERVER:\n\nYou have been disconnected for the following reason(s): {reason}\n\n";
            result += "Thank you for your support! Please come back and try again!\n\n";
            Console.WriteLine(result);
            GameEngine.DisconnectLocalPlayer();
        }