OpenAstra
 
Loading...
Searching...
No Matches
GameRules Class Reference

Public Types

using TemplateCheckData = std::map<std::string, std::vector<std::string>>
 

Static Public Member Functions

static bool initialize (const std::string &templates_path)
 
static bool templateExist (const std::string &category, const std::string &type)
 
static nlohmann::json getTemplate (const std::string &category, const std::string &type)
 
static std::string getRandomName (const std::string &type)
 
static const nlohmann::json & getTemplates ()
 
static bool checkBasicTemplate (const nlohmann::json &template_data, const TemplateCheckData &mandatory_items)
 
static void json_deep_update (nlohmann::json &target, const nlohmann::json &source)
 

The documentation for this class was generated from the following files: