MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / id

Method id

launcher/settings/Setting.h:50–53  ·  view source on GitHub ↗

! * \brief Gets this setting's ID. * This is used to refer to the setting within the application. * \warning Changing the ID while the setting is registered with a SettingsObject results in * undefined behavior. * \return The ID of the setting. */

Source from the content-addressed store, hash-verified

48 * \return The ID of the setting.
49 */
50 virtual QString id() const
51 {
52 return m_synonyms.first();
53 }
54
55 /*!
56 * \brief Gets this setting's config file key.

Callers 6

registerOverrideMethod · 0.45
registerPassthroughMethod · 0.45
registerSettingMethod · 0.45
changeSettingMethod · 0.45
resetSettingMethod · 0.45
retrieveValueMethod · 0.45

Calls 1

firstMethod · 0.80

Tested by

no test coverage detected