MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetConfigList

Method GetConfigList

src/script/script_config.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60const ScriptConfigItemList *ScriptConfig::GetConfigList()
61{
62 if (this->info != nullptr) return this->info->GetConfigList();
63 if (this->config_list == nullptr) {
64 this->config_list = std::make_unique<ScriptConfigItemList>();
65 }
66 return this->config_list.get();
67}
68
69void ScriptConfig::ClearConfigList()
70{

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected