LeviLamina
Loading...
Searching...
No Matches
LevelBannerDataProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/settings/IDataProvider.h"
7#include "mc/deps/core/utility/pub_sub/Subscription.h"
8
9// auto generated forward declare list
10// clang-format off
12// clang-format on
13
14namespace Settings {
15
16class LevelBannerDataProvider : public ::Settings::IDataProvider {
17public:
18 // LevelBannerDataProvider inner types define
19 using SubscriptionConnector = ::std::function<::Bedrock::PubSub::Subscription(::std::function<void()>)>;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function<void()>)>>>
25 mSubscriptionConnectors;
26 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLevelChangedSubscription;
27 ::ll::TypedStorage<8, 24, ::std::vector<::Bedrock::PubSub::Subscription>> mSubscriptions;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 LevelBannerDataProvider();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual bool canModify() const /*override*/;
38
39 virtual ~LevelBannerDataProvider() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI LevelBannerDataProvider(
46 ::std::function<::Bedrock::PubSub::Subscription(::std::function<void(::LevelDataWrapper&)>)>
47 registerLevelChangeCallback,
48 ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function<void()>)>> subscriptionConnectors
49 );
50
51 MCAPI void _updateSubscriptions();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor(
58 ::std::function<::Bedrock::PubSub::Subscription(::std::function<void(::LevelDataWrapper&)>)>
59 registerLevelChangeCallback,
60 ::std::vector<::std::function<::Bedrock::PubSub::Subscription(::std::function<void()>)>> subscriptionConnectors
61 );
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCFOLD bool $canModify() const;
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
76
77} // namespace Settings
Definition LevelDataWrapper.h:14
Definition LevelBannerDataProvider.h:7
static MCAPI void ** $vftable()