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

Method IsStringSetting

src/settings_internal.h:102–102  ·  view source on GitHub ↗

* Check whether this setting is an string type setting. * @return True when the underlying type is a string. */

Source from the content-addressed store, hash-verified

100 * @return True when the underlying type is a string.
101 */
102 virtual bool IsStringSetting() const { return false; }
103
104 const struct IntSettingDesc *AsIntSetting() const;
105 const struct StringSettingDesc *AsStringSetting() const;

Callers 3

AsStringSettingMethod · 0.95
IConsoleSetSettingFunction · 0.45
IConsoleGetSettingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected