Skip to content
LeviMC
English
AutoLightDark
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 * $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)
MCAPI bool $canModify () const
MCAPI bool $getValue () const
MCAPI void $setValue (bool value)
virtual bool flush ()
MCAPI bool $flush ()
virtual void setChangeListener (::std::function< void()> callback)
MCAPI void $dtor ()
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::Subscription > mLevelChangedSubscription
::ll::TypedStorage< 8, 24, ::std::vector<::Bedrock::PubSub::Subscription > > mSubscriptions
::ll::TypedStorage< 8, 64, ::std::function< void()> > mListener
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mSubscription

Constructor & Destructor Documentation

◆ LevelBooleanDataProvider()

MCAPI Settings::LevelBooleanDataProvider::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 )
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

◆ 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

◆ $ctor()

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

◆ $canModify()

MCAPI bool Settings::LevelBooleanDataProvider::$canModify ( ) 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.

◆ $getValue()

MCAPI bool Settings::LevelBooleanDataProvider::$getValue ( ) 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.

◆ $setValue()

MCAPI void Settings::LevelBooleanDataProvider::$setValue ( bool value)
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.

◆ $flush()

MCAPI bool Settings::IBooleanDataProvider::$flush ( )
inherited
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.

◆ $dtor()

MCAPI void Settings::IDataProvider::$dtor ( )
inherited
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.

◆ $setChangeListener()

MCAPI void Settings::IDataProvider::$setChangeListener ( ::std::function< void()> callback)
inherited
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.

◆ $vftable()

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