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

Method AsIntSetting

src/settings.cpp:921–925  ·  view source on GitHub ↗

* Get the setting description of this setting as an integer setting. * @return The integer setting description. */

Source from the content-addressed store, hash-verified

919 * @return The integer setting description.
920 */
921const IntSettingDesc *SettingDesc::AsIntSetting() const
922{
923 assert(this->IsIntSetting());
924 return static_cast<const IntSettingDesc *>(this);
925}
926
927/**
928 * Get the setting description of this setting as a string setting.

Callers 15

InitMethod · 0.80
CmdChangeSettingFunction · 0.80
CmdChangeCompanySettingFunction · 0.80
SetSettingValueFunction · 0.80
SyncCompanySettingsFunction · 0.80
IConsoleSetSettingFunction · 0.80
IConsoleGetSettingFunction · 0.80
DrawSettingMethod · 0.80
SettingsPanelClickMethod · 0.80
OnTooltipMethod · 0.80

Calls 1

IsIntSettingMethod · 0.95

Tested by

no test coverage detected