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(); }
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(); }
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(); }