Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Settings::OptionComponent Class Reference
Inheritance diagram for Settings::OptionComponent:

Public Types

using DataProvider = ::Settings::IOptionsDataProvider
using ConfirmationRequestsProvider = ::std::function<::std::vector<::Settings::OptionConfirmationRequest>()>

Public Member Functions

virtual::Settings::ComponentState getDefaultState () const
MCAPI OptionComponent (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::unique_ptr<::Settings::IOptionsDataProvider > dataProvider)
MCAPI ::std::optional<::std::string > getInfo () const
MCAPI void * $ctor (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::unique_ptr<::Settings::IOptionsDataProvider > dataProvider)
MCAPI::Settings::ComponentState $getDefaultState () const

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Settings::IOptionsDataProvider > > mDataProvider
::ll::TypedStorage< 8, 64, ::std::function<::std::vector<::Settings::OptionConfirmationRequest >()> > mConfirmationRequestsProvider

Constructor & Destructor Documentation

◆ OptionComponent()

MCAPI Settings::OptionComponent::OptionComponent ( ::std::string_view id,
::std::string_view name,
::std::optional<::std::string > description,
::std::unique_ptr<::Settings::IOptionsDataProvider > dataProvider )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ getInfo()

MCAPI ::std::optional<::std::string > Settings::OptionComponent::getInfo ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * Settings::OptionComponent::$ctor ( ::std::string_view id,
::std::string_view name,
::std::optional<::std::string > description,
::std::unique_ptr<::Settings::IOptionsDataProvider > dataProvider )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getDefaultState()

MCAPI::Settings::ComponentState Settings::OptionComponent::$getDefaultState ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: