Minetest  5.4.0
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
 
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 Game::connectToServer(), ClientLauncher::launch_game(), and Game::startup().

+ Here is the caller graph for this function:

Member Data Documentation

◆ address

◆ local_server

bool GameStartData::local_server

◆ name

std::string GameStartData::name

◆ password

std::string GameStartData::password

◆ world_spec

WorldSpec GameStartData::world_spec

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