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

#include <guiMainMenu.h>

+ Collaboration diagram for MainMenuData:

Public Member Functions

 MainMenuData ()=default
 

Public Attributes

std::string servername
 
std::string serverdescription
 
std::string address
 
std::string port
 
std::string name
 
std::string password
 
bool do_reconnect = false
 
int selected_world = 0
 
bool simple_singleplayer_mode = false
 
MainMenuDataForScript script_data
 
ELoginRegister allow_login_or_register = ELoginRegister::Any
 

Constructor & Destructor Documentation

◆ MainMenuData()

MainMenuData::MainMenuData ( )
default

Member Data Documentation

◆ address

std::string MainMenuData::address

◆ allow_login_or_register

ELoginRegister MainMenuData::allow_login_or_register = ELoginRegister::Any

◆ do_reconnect

bool MainMenuData::do_reconnect = false

Referenced by ModApiMainMenu::l_start().

◆ name

std::string MainMenuData::name

◆ password

std::string MainMenuData::password

◆ port

std::string MainMenuData::port

◆ script_data

MainMenuDataForScript MainMenuData::script_data

◆ selected_world

int MainMenuData::selected_world = 0

◆ serverdescription

std::string MainMenuData::serverdescription

◆ servername

std::string MainMenuData::servername

◆ simple_singleplayer_mode

bool MainMenuData::simple_singleplayer_mode = false

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