Luanti 5.16.0-dev
Loading...
Searching...
No Matches
GameStartData Struct Reference

#include <gameparams.h>

Inheritance diagram for GameStartData:
Collaboration diagram for GameStartData:

Public Member Functions

 GameStartData ()=default
bool isSinglePlayer () const
Public Member Functions inherited from GameParams
 GameParams ()=default

Public Attributes

std::string name
std::string password
std::string address
bool local_server
ELoginRegister allow_login_or_register = ELoginRegister::Any
WorldSpec world_spec
Public Attributes inherited from GameParams
u16 socket_port
std::string world_path
SubgameSpec game_spec
bool is_dedicated_server

Constructor & Destructor Documentation

◆ GameStartData()

GameStartData::GameStartData ( )
default

Member Function Documentation

◆ isSinglePlayer()

bool GameStartData::isSinglePlayer ( ) const
inline

References address, and local_server.

Referenced by ClientLauncher::launch_game(), and Game::startup().

Here is the caller graph for this function:

Member Data Documentation

◆ address

◆ allow_login_or_register

ELoginRegister GameStartData::allow_login_or_register = ELoginRegister::Any

◆ local_server

bool GameStartData::local_server

◆ name

std::string GameStartData::name

◆ password

std::string GameStartData::password

◆ world_spec


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