Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
WorldSpec Struct Reference

#include <subgames.h>

+ Collaboration diagram for WorldSpec:

Public Member Functions

 WorldSpec (const std::string &path="", const std::string &name="", const std::string &gameid="")
 
bool isValid () const
 

Public Attributes

std::string path
 
std::string name
 
std::string gameid
 

Constructor & Destructor Documentation

◆ WorldSpec()

WorldSpec::WorldSpec ( const std::string & path = "",
const std::string & name = "",
const std::string & gameid = "" )
inline

Member Function Documentation

◆ isValid()

bool WorldSpec::isValid ( ) const
inline

References gameid, name, and path.

Referenced by getAvailableWorlds().

+ Here is the caller graph for this function:

Member Data Documentation

◆ gameid

std::string WorldSpec::gameid

Referenced by isValid().

◆ name

std::string WorldSpec::name

Referenced by isValid().

◆ path


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