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

Public Types

using SubscriptionConnector = ::std::function<::Bedrock::PubSub::Subscription(::std::function<void()>)>
using ChangeCallback = ::std::function<void()>

Public Member Functions

virtual bool canModify () const
virtual::std::string getValue () const
virtual void setValue (::std::string_view value)
virtual void commitValue ()
MCAPI LevelStringDataProvider (::std::function<::Bedrock::PubSub::Subscription(::std::function< void(::LevelDataWrapper &)>)> registerLevelChangeCallback, ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function< void()>)> > subscriptionConnectors, ::std::unique_ptr<::Settings::IStringPropertyHandler > delegate)
MCAPI void _updateSubscriptions ()
MCAPI void * $ctor (::std::function<::Bedrock::PubSub::Subscription(::std::function< void(::LevelDataWrapper &)>)> registerLevelChangeCallback, ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function< void()>)> > subscriptionConnectors, ::std::unique_ptr<::Settings::IStringPropertyHandler > delegate)
MCAPI void $dtor ()
MCFOLD bool $canModify () const
MCAPI::std::string $getValue () const
MCAPI void $setValue (::std::string_view value)
MCAPI void $commitValue ()
virtual bool flush ()
MCFOLD bool $flush ()
virtual void setChangeListener (::std::function< void()> callback)
MCAPI void $setChangeListener (::std::function< void()> callback)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Settings::IStringPropertyHandler > > mDelegate
::ll::TypedStorage< 8, 24, ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function< void()>)> > > mSubscriptionConnectors
::ll::TypedStorage< 8, 40, ::std::optional<::std::string > > mCachedValue
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLevelChangedSubscription
::ll::TypedStorage< 8, 24, ::std::vector<::Bedrock::PubSub::Subscription > > mSubscriptions
::ll::TypedStorage< 8, 64, ::std::function< void()> > mListener
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmSubscription

Member Function Documentation

◆ canModify()

virtual bool Settings::LevelStringDataProvider::canModify ( ) const
virtual

◆ getValue()

virtual::std::string Settings::LevelStringDataProvider::getValue ( ) const
virtual

◆ setValue()

virtual void Settings::LevelStringDataProvider::setValue ( ::std::string_view value)
virtual

◆ commitValue()

virtual void Settings::LevelStringDataProvider::commitValue ( )
virtual

Reimplemented from Settings::IStringDataProvider.

◆ $vftable()

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