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 MCAPI LevelBooleanDataProvider(
50 ::std::function<::Bedrock::PubSub::Subscription(::std::function<
void(::LevelDataWrapper&)>)>
51 registerLevelChangeCallback,
52 ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function<
void()>)>> subscriptionConnectors,
53 ::std::unique_ptr<::Settings::IBooleanPropertyHandler> delegate
56 MCAPI
void _updateSubscriptions();
63 ::std::function<::Bedrock::PubSub::Subscription(::std::function<
void(::LevelDataWrapper&)>)>
64 registerLevelChangeCallback,
65 ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function<
void()>)>> subscriptionConnectors,
66 ::std::unique_ptr<::Settings::IBooleanPropertyHandler> delegate
73 MCFOLD
bool $canModify() const;
75 MCFOLD
bool $getValue() const;
77 MCAPI
void $setValue(
bool value);
Definition LevelDataWrapper.h:14
Definition IBooleanPropertyHandler.h:7
Definition LevelBooleanDataProvider.h:7
static MCAPI void ** $vftable()