LeviLamina
Loading...
Searching...
No Matches
Settings::ActionComponent Class Reference
Inheritance diagram for Settings::ActionComponent:

Public Types

using DataProvider = ::Settings::IActionDataProvider
using ActionLabelOverrideProvider

Public Member Functions

virtual::Settings::ComponentState getDefaultState () const
MCAPI ActionComponent (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::string_view actionLabel, ::std::function< void()> actionCallback, ::std::optional<::Settings::ConfirmationRequest > confirmationRequest, ::std::unique_ptr<::Settings::IActionDataProvider > dataProvider)
MCAPI::std::string getActionLabel () const
MCAPI void * $ctor (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::string_view actionLabel, ::std::function< void()> actionCallback, ::std::optional<::Settings::ConfirmationRequest > confirmationRequest, ::std::unique_ptr<::Settings::IActionDataProvider > dataProvider)
MCAPI void $dtor ()
MCAPI::Settings::ComponentState $getDefaultState () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mActionLabel
::ll::TypedStorage< 4, 8, ::std::optional<::Settings::SettingsActionType > > mActionType
::ll::TypedStorage< 8, 136, ::std::optional<::Settings::ConfirmationRequest > > mConfirmationRequest
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Settings::IActionDataProvider > > mDataProvider
::ll::TypedStorage< 8, 64, ::std::function< void()> > mActionCallback
::ll::TypedStorage< 8, 64, ::std::function<::std::optional<::std::string >(::Settings::ActionComponent const &)> > mActionLabelOverrideProvider

Member Typedef Documentation

◆ ActionLabelOverrideProvider

using Settings::ActionComponent::ActionLabelOverrideProvider
Initial value:
::std::function<::std::optional<::std::string>(::Settings::ActionComponent const&)>
Definition ActionComponent.h:7

Member Function Documentation

◆ $vftable()

MCAPI void ** Settings::ActionComponent::$vftable ( )
static
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: