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

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 bool getValue () const
virtual void setValue (bool value)
MCAPI LevelBooleanDataProvider (::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::IBooleanPropertyHandler > 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::IBooleanPropertyHandler > delegate)
MCFOLD bool $canModify () const
MCFOLD bool $getValue () const
MCAPI void $setValue (bool value)
virtual bool flush ()
MCFOLD void $dtor ()
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::IBooleanPropertyHandler > > mDelegate
::ll::TypedStorage< 8, 24, ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function< void()>)> > > mSubscriptionConnectors
::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::LevelBooleanDataProvider::canModify ( ) const
virtual

◆ getValue()

virtual bool Settings::LevelBooleanDataProvider::getValue ( ) const
virtual

◆ setValue()

virtual void Settings::LevelBooleanDataProvider::setValue ( bool value)
virtual

◆ $vftable()

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