Struct Setting

#include <Geode/loader/Setting.hpp>

Represents a saved value for a mod that can be customized by the user through an in-game UI. This class is for modeling the setting’s definition - what values are accepted, its name etc. See the tutorial page for more information about how settings work

Fields0
Examples0
Public static methods1
staticgeode::Result<geode::Setting>parse(,,)
No description provided
Public member functions6
template<class T>std::optional<T>get()
No description provided
std::unique_ptr<geode::SettingValue>createDefaultValue()const
No description provided
boolisCustom()const
No description provided
std::stringgetDisplayName()const
No description provided
std::optional<std::string>getDescription()const
No description provided
std::stringgetModID()const
No description provided