示例#1
0
        public static void WrongVersion()
        {
            MirMessageBox MMBox = new MirMessageBox("Wrong Version, Please update your game.\n Game will now close.", MessageBoxButtons.OK);

            MMBox.OKButton.Click += (o, e) => SceneFunctions.QuitGame();
            MMBox.Show();
        }
示例#2
0
        public static void ConnectionLost()
        {
            if (ConClosed)
            {
                return;
            }

            ConClosed = true;
            MirMessageBox MMBox = new MirMessageBox("Lost connection with the server.");

            MMBox.OKButton.Click += (o, e) => SceneFunctions.QuitGame();
            MMBox.Show();
        }
示例#3
0
        public static void ConnectionClosed()
        {
            if (ConClosed)
            {
                return;
            }

            ConClosed = true;
            MirMessageBox MMBox = new MirMessageBox("Failed to connect to the server.", MessageBoxButtons.OK);

            MMBox.OKButton.Click += (o, e) => SceneFunctions.QuitGame();
            MMBox.Show();
        }