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

Method GetHelp

src/settings.cpp:436–439  ·  view source on GitHub ↗

* Get the help text of the setting. * @return The requested help text. */

Source from the content-addressed store, hash-verified

434 * @return The requested help text.
435 */
436StringID IntSettingDesc::GetHelp() const
437{
438 return this->get_help_cb != nullptr ? this->get_help_cb(*this) : this->str_help;
439}
440
441/**
442 * Get parameters for drawing the value of the setting.

Callers 4

GetMaxHelpHeightMethod · 0.80
UpdateFilterStateMethod · 0.80
OnTooltipMethod · 0.80
DrawWidgetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected