|
|
using | ChangeCallback = ::std::function<void()> |
|
| virtual void | setChangeListener (::std::function< void()> callback) |
| virtual bool | canModify () const |
| virtual bool | getValue () const |
| virtual void | setValue (bool value) |
| virtual bool | flush () |
|
MCAPI | AsyncBooleanDataProvider (::std::unique_ptr<::Settings::IBooleanDataProvider > delegateProvider) |
|
MCAPI void * | $ctor (::std::unique_ptr<::Settings::IBooleanDataProvider > delegateProvider) |
|
MCAPI void | $setChangeListener (::std::function< void()> callback) |
|
MCFOLD bool | $canModify () const |
|
MCAPI bool | $getValue () const |
|
MCAPI void | $setValue (bool value) |
|
MCAPI bool | $flush () |
|
MCFOLD void | $dtor () |
|
|
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Settings::IBooleanDataProvider > > | mDelegateProvider |
|
::ll::TypedStorage< 8, 64, ::std::function< void()> > | mChangeCallback |
|
::ll::TypedStorage< 1, 2, ::std::optional< bool > > | mPendingValue |
|
::ll::TypedStorage< 8, 64, ::std::function< void()> > | mListener |
|
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > | mSubscription |
◆ setChangeListener()
| virtual void Settings::AsyncBooleanDataProvider::setChangeListener |
( |
::std::function< void()> | callback | ) |
|
|
virtual |
◆ canModify()
| virtual bool Settings::AsyncBooleanDataProvider::canModify |
( |
| ) |
const |
|
virtual |
◆ getValue()
| virtual bool Settings::AsyncBooleanDataProvider::getValue |
( |
| ) |
const |
|
virtual |
◆ setValue()
| virtual void Settings::AsyncBooleanDataProvider::setValue |
( |
bool | value | ) |
|
|
virtual |
◆ flush()
| virtual bool Settings::AsyncBooleanDataProvider::flush |
( |
| ) |
|
|
virtual |
◆ $vftable()
| MCAPI void ** Settings::AsyncBooleanDataProvider::$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: