Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
guiMainMenu.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
4
5#pragma once
6
8#include "gameparams.h"
9#include <string>
10#include <list>
11
13
15
16 // Whether the server has requested a reconnect
17 bool reconnect_requested = false;
18 std::string errormessage = "";
19};
20
22 // Client options
23 std::string servername;
24 std::string serverdescription;
25 std::string address;
26 std::string port;
27 std::string name;
28 std::string password;
29 // Whether to reconnect
30 bool do_reconnect = false;
31
32 // Server options
35
36 // Data to be passed to the script
38
40
41 MainMenuData() = default;
42};
ELoginRegister
Definition gameparams.h:21
Definition guiMainMenu.h:12
MainMenuDataForScript()=default
std::string errormessage
Definition guiMainMenu.h:18
bool reconnect_requested
Definition guiMainMenu.h:17
Definition guiMainMenu.h:21
MainMenuDataForScript script_data
Definition guiMainMenu.h:37
std::string address
Definition guiMainMenu.h:25
std::string password
Definition guiMainMenu.h:28
ELoginRegister allow_login_or_register
Definition guiMainMenu.h:39
std::string servername
Definition guiMainMenu.h:23
bool simple_singleplayer_mode
Definition guiMainMenu.h:34
bool do_reconnect
Definition guiMainMenu.h:30
int selected_world
Definition guiMainMenu.h:33
std::string name
Definition guiMainMenu.h:27
std::string serverdescription
Definition guiMainMenu.h:24
std::string port
Definition guiMainMenu.h:26
MainMenuData()=default