3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/settings/NumberComponent.h"
7#include "mc/client/settings/SettingsType.h"
34 ::ll::TypedStorage<8, 16, ::std::string_view> mId;
35 ::ll::TypedStorage<4, 4, ::Settings::SettingsType> mType;
42 virtual ~IRegistry() =
default;
44 virtual ::std::vector<::std::string_view> getSettingsGroups()
const = 0;
46 virtual ::std::optional<::std::vector<::Settings::IRegistry::SettingId>>
47 getSettingsGroup(::std::string_view settingsGroupId) = 0;
49 virtual ::std::optional<::std::reference_wrapper<::std::variant<
50 ::Settings::BooleanComponent,
51 ::Settings::NumberComponent<int>,
52 ::Settings::NumberComponent<float>,
53 ::Settings::OptionComponent,
54 ::Settings::StringComponent,
55 ::Settings::ActionComponent,
56 ::Settings::TextComponent,
57 ::Settings::GroupInfoComponent,
58 ::Settings::BannerComponent>>>
59 getSetting(::std::string_view settingId)
const = 0;
Definition ActionComponent.h:7
Definition BannerComponent.h:7
Definition BooleanComponent.h:7
Definition GroupInfoComponent.h:7
Definition OptionComponent.h:7
Definition StringComponent.h:7
Definition TextComponent.h:7
Definition IRegistry.h:15