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

Method GetSetting

src/game/game_instance.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58int GameInstance::GetSetting(const std::string &name)
59{
60 return GameConfig::GetConfig()->GetSetting(name);
61}
62
63ScriptInfo *GameInstance::FindLibrary(const std::string &library, int version)
64{

Callers 2

DrawWidgetMethod · 0.45
OnClickMethod · 0.45

Calls 1

GetConfigFunction · 0.85

Tested by

no test coverage detected