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

Public Types

using DataProvider = ::Settings::IStringDataProvider
using FormatValidationCallback = ::std::function<::std::optional<::std::string>(::std::string)>

Public Member Functions

virtual::Settings::ComponentState getDefaultState () const
MCAPI StringComponent (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::unique_ptr<::Settings::IStringDataProvider > dataProvider, ::std::optional<::std::string > placeholder, ::std::optional< int > maxLength)
MCAPI ::std::optional<::std::string > getPlaceholder () const
MCAPI bool updateValue (::std::string const &value)
MCAPI void * $ctor (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::unique_ptr<::Settings::IStringDataProvider > dataProvider, ::std::optional<::std::string > placeholder, ::std::optional< int > maxLength)
MCAPI void $dtor ()
MCFOLD::Settings::ComponentState $getDefaultState () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Settings::IStringDataProvider > > mDataProvider
::ll::TypedStorage< 8, 40, ::std::optional<::std::string > > mPlaceholder
::ll::TypedStorage< 4, 8, ::std::optional< int > > mMaxLength
::ll::TypedStorage< 8, 72, ::std::optional<::std::function<::std::optional<::std::string >(::std::string)> > > mFormatValidation
::ll::TypedStorage< 1, 1, bool > mIsFormatValid
::ll::TypedStorage< 8, 40, ::std::optional<::std::string > > mFallbackValue

Member Function Documentation

◆ $vftable()

MCAPI void ** Settings::StringComponent::$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: