LeviLamina
Loading...
Searching...
No Matches
MarketplacePassPDPScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/SceneType.h"
8#include "mc/client/gui/StoreNavigationOrigin.h"
9#include "mc/client/gui/ViewRequest.h"
10#include "mc/client/gui/screens/controllers/MarketplacePassTabIndex.h"
11#include "mc/client/gui/screens/controllers/PurchaseEnabledScreenController.h"
12#include "mc/client/store/iap/transactions/TransactionStatus.h"
13#include "mc/client/store/sidebar/Type.h"
14#include "mc/deps/core/utility/NonOwnerPointer.h"
15
16// auto generated forward declare list
17// clang-format off
20struct IEntitlementManager;
21namespace Json { class Value; }
22namespace RealmsScreenUtils { struct RealmsWorldLoadingDetailsGroup; }
23namespace SDL { struct ScreenLayoutQuery; }
24namespace SDL { struct SubscriptionInfo; }
25namespace sidebar { struct NavigationModel; }
26// clang-format on
27
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<4, 4, ::MarketplacePassTabIndex> mInitialTab;
33 ::ll::TypedStorage<4, 4, ::MarketplacePassTabIndex> mCurrentTab;
34 ::ll::TypedStorage<4, 4, ::StoreNavigationOrigin> mOrigin;
35 ::ll::TypedStorage<1, 1, bool> mInitialTabSelected;
36 ::ll::TypedStorage<8, 32, ::std::string> mCurrentFocus;
37 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mToggleSectionNames;
38 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::CatalogCollection>> mPopularPacksCollection;
39 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SDL::ScreenLayoutQuery>> mMarketplacePassLayoutQuery;
40 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager>> mEntitlementManager;
41 ::ll::TypedStorage<8, 32, ::std::string> mPacksLabel;
42 ::ll::TypedStorage<8, 32, ::std::string> mMarketplacePassPrice;
43 ::ll::TypedStorage<1, 1, bool> mCheckedTOS;
44 ::ll::TypedStorage<1, 1, bool> mDirty;
45 ::ll::TypedStorage<8, 8, ::SDL::SubscriptionInfo const&> mSubscriptionInfo;
46 ::ll::TypedStorage<4, 4, ::TransactionStatus> mCurrentTransactionStatus;
47 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::sidebar::NavigationModel>> mNavigationModel;
48 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::RealmsScreenUtils::RealmsWorldLoadingDetailsGroup>>
49 mRealmsWorldLoadingDetailsGroup;
50 // NOLINTEND
51
52public:
53 // prevent constructor by default
54 MarketplacePassPDPScreenController& operator=(MarketplacePassPDPScreenController const&);
55 MarketplacePassPDPScreenController(MarketplacePassPDPScreenController const&);
56 MarketplacePassPDPScreenController();
57
58public:
59 // virtual functions
60 // NOLINTBEGIN
61 virtual ~MarketplacePassPDPScreenController() /*override*/;
62
63 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
64
65 virtual void onCreation() /*override*/;
66
67 virtual void onOpen() /*override*/;
68
69 virtual void onEntered() /*override*/;
70
71 virtual void onLeave() /*override*/;
72
73 virtual ::ui::DirtyFlag tick() /*override*/;
74
75 virtual ::std::string getAdditionalScreenInfo() const /*override*/;
76
77 virtual ::ui::SceneType getSceneType() const /*override*/;
78
79 virtual ::sidebar::navigationLayout::Type getSidebarLayoutType() const /*override*/;
80 // NOLINTEND
81
82public:
83 // member functions
84 // NOLINTBEGIN
85 MCAPI MarketplacePassPDPScreenController(
86 ::std::shared_ptr<::MainMenuScreenModel> model,
87 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
88 ::MarketplacePassTabIndex marketplacePassTabIndex,
89 ::StoreNavigationOrigin origin,
90 ::sidebar::navigationLayout::Type sidebarLayoutType
91 );
92
93 MCAPI ::ui::ViewRequest _changeTabTo(::MarketplacePassTabIndex tabIndex);
94
95 MCAPI ::std::string const _getMarketplacePassOfferPrice();
96
97 MCAPI ::std::string const _getMarketplacePassOfferString(::std::string const& locKey);
98
99 MCAPI void _getMarketplacePassVisualStyle();
100
101 MCFOLD bool _isCsbSubscribed() const;
102
103 MCAPI bool _isRealmsPlusSubscriptionActive() const;
104
105 MCFOLD void _openPurchaseInProgress();
106
107 MCAPI void _registerBindings();
108
109 MCAPI void _registerCollection();
110
111 MCAPI void _registerContentSectionBindings();
112
113 MCAPI void _registerEvents();
114 // NOLINTEND
115
116public:
117 // constructor thunks
118 // NOLINTBEGIN
119 MCAPI void* $ctor(
120 ::std::shared_ptr<::MainMenuScreenModel> model,
121 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
122 ::MarketplacePassTabIndex marketplacePassTabIndex,
123 ::StoreNavigationOrigin origin,
124 ::sidebar::navigationLayout::Type sidebarLayoutType
125 );
126 // NOLINTEND
127
128public:
129 // destructor thunk
130 // NOLINTBEGIN
131 MCAPI void $dtor();
132 // NOLINTEND
133
134public:
135 // virtual function thunks
136 // NOLINTBEGIN
137 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
138
139 MCAPI void $onCreation();
140
141 MCAPI void $onOpen();
142
143 MCAPI void $onEntered();
144
145 MCFOLD void $onLeave();
146
147 MCAPI ::ui::DirtyFlag $tick();
148
149 MCAPI ::std::string $getAdditionalScreenInfo() const;
150
151 MCFOLD ::ui::SceneType $getSceneType() const;
152
153 MCAPI ::sidebar::navigationLayout::Type $getSidebarLayoutType() const;
154 // NOLINTEND
155
156public:
157 // vftables
158 // NOLINTBEGIN
160
161 MCNAPI static void** $vftableForScreenController();
162
163 MCNAPI static void** $vftable();
164 // NOLINTEND
165};
Definition CatalogCollection.h:5
Definition Value.h:16
Definition MainMenuScreenModel.h:5
Definition MarketplacePassPDPScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftable()
Definition PurchaseEnabledScreenController.h:5
Definition RealmsWorldLoadingDetailsGroup.h:7
Definition ScreenLayoutQuery.h:7
Definition SubscriptionInfo.h:7