3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/settings/IBooleanDataProvider.h"
7#include "mc/deps/core/utility/pub_sub/Subscription.h"
20 using SubscriptionConnector = ::std::function<::Bedrock::PubSub::Subscription(::std::function<
void()>)>;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Settings::IBooleanPropertyHandler>> mDelegate;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function<
void()>)>>>
27 mSubscriptionConnectors;
28 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelChangedSubscription;
29 ::ll::TypedStorage<8, 24, ::std::vector<::Bedrock::PubSub::Subscription>> mSubscriptions;
34 LevelBooleanDataProvider();
39 virtual bool canModify() const ;
41 virtual
bool getValue() const ;
43 virtual
void setValue(
bool value) ;
49 MCNAPI LevelBooleanDataProvider(
51 registerLevelChangeCallback,
52 ::
std::vector<::
std::function<::Bedrock::PubSub::Subscription(::
std::function<
void()>)>> subscriptionConnectors,
62 registerLevelChangeCallback,
63 ::
std::vector<::
std::function<::Bedrock::PubSub::Subscription(::
std::function<
void()>)>> subscriptionConnectors,
Definition LevelDataWrapper.h:14
Definition IBooleanPropertyHandler.h:7
Definition LevelBooleanDataProvider.h:7
MCAPI bool $getValue() const
MCAPI void $setValue(bool value)
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