Luanti 5.17.0-dev
Loading...
Searching...
No Matches
MainMenuData Struct Reference

#include <guiMainMenu.h>

Inheritance diagram for MainMenuData:
Collaboration diagram for MainMenuData:

Public Member Functions

 MainMenuData (GameErrorData &errordata)
Public Member Functions inherited from GameClientData
bool isSinglePlayer () const
bool isAnyServer () const

Public Attributes

std::string port
bool do_reconnect = false
int selected_world = 0
GameErrorDatascript_data
Public Attributes inherited from GameClientData
std::string name
std::string password
std::string address
enum GameClientData::Mode mode = GM_Undefined
ELoginRegister allow_login_or_register = ELoginRegister::Any

Additional Inherited Members

Public Types inherited from GameClientData
enum  Mode { GM_SINGLEPLAYER , GM_HOST_AND_JOIN , GM_JOIN , GM_Undefined }

Constructor & Destructor Documentation

◆ MainMenuData()

MainMenuData::MainMenuData ( GameErrorData & errordata)
inline

References script_data.

Member Data Documentation

◆ do_reconnect

bool MainMenuData::do_reconnect = false

Referenced by ModApiMainMenu::l_start().

◆ port

std::string MainMenuData::port

◆ script_data

GameErrorData& MainMenuData::script_data

◆ selected_world

int MainMenuData::selected_world = 0

The documentation for this struct was generated from the following file: