LeviLamina
Loading...
Searching...
No Matches
ActiveDirectoryAuthenticationScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/ActiveDirectoryPopup.h"
7#include "mc/client/gui/DirtyFlag.h"
8#include "mc/client/gui/SceneType.h"
9#include "mc/client/gui/screens/controllers/AuthLoadingMessages.h"
10#include "mc/client/gui/screens/controllers/AuthenticationUIState.h"
11#include "mc/client/gui/screens/controllers/EduPurchaseUXState.h"
12#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
13#include "mc/deps/core/utility/NonOwnerPointer.h"
14
15// auto generated forward declare list
16// clang-format off
21struct Purchase;
22namespace Json { class Value; }
23namespace Progress { class ProgressTips; }
24// clang-format on
25
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<1, 1, bool> mAuthenticationPendingPresentationHandled;
31 ::ll::TypedStorage<8, 552, ::std::optional<::ActiveDirectoryPopup>> mPopup;
32 ::ll::TypedStorage<8, 32, ::std::string> mAuthMessage;
33 ::ll::TypedStorage<8, 64, ::AuthLoadingMessages> mLoadingMessages;
34 ::ll::TypedStorage<4, 4, ::AuthenticationUIState> mUIState;
35 ::ll::TypedStorage<4, 4, ::EduPurchaseUXState> mPurchaseState;
36 ::ll::TypedStorage<1, 1, bool> mCurrentlyAgree;
37 ::ll::TypedStorage<8, 32, ::std::string> mOfferPrice;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActiveDirectoryAuthenticationInterface>> mAuthentication;
39 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClickSourceContext>> mClickSource;
40 ::ll::TypedStorage<8, 8, double> mPackLoadStart;
41 // NOLINTEND
42
43public:
44 // prevent constructor by default
45 ActiveDirectoryAuthenticationScreenController();
46
47public:
48 // virtual functions
49 // NOLINTBEGIN
50 virtual ~ActiveDirectoryAuthenticationScreenController() /*override*/;
51
52 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
53
54 virtual void onTerminate() /*override*/;
55
56 virtual ::ui::DirtyFlag tick() /*override*/;
57
58 virtual ::ui::SceneType getSceneType() const /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI ActiveDirectoryAuthenticationScreenController(
65 ::std::shared_ptr<::MinecraftScreenModel> model,
66 bool displaySignIn,
67 ::std::unique_ptr<::ClickSourceContext> clickedSource,
68 ::Bedrock::NotNullNonOwnerPtr<::Progress::ProgressTips> progressTips
69 );
70
71 MCAPI void _announceModalDialog() const;
72
73 MCAPI void _closeModalDialog(bool doPostAction);
74
75 MCFOLD void _closeProgressDialog();
76
77 MCAPI bool _fulfillPriorPurchase(::std::weak_ptr<::Purchase> purchase);
78
79 MCAPI void _handleAuthenticationPendingPresentation();
80
81 MCAPI void _handlePopupButton(::ADPopupButtonAction const& action);
82
83 MCAPI void _handlePurchaseFailure();
84
85 MCAPI void _openModalDialog(::std::string const& dialogId);
86
87 MCAPI void _openProgressDialog();
88
89 MCAPI void _purchaseLicense();
90
91 MCAPI void _registerBindings();
92
93 MCAPI void _registerEventHandlers();
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCAPI void* $ctor(
100 ::std::shared_ptr<::MinecraftScreenModel> model,
101 bool displaySignIn,
102 ::std::unique_ptr<::ClickSourceContext> clickedSource,
103 ::Bedrock::NotNullNonOwnerPtr<::Progress::ProgressTips> progressTips
104 );
105 // NOLINTEND
106
107public:
108 // destructor thunk
109 // NOLINTBEGIN
110 MCAPI void $dtor();
111 // NOLINTEND
112
113public:
114 // virtual function thunks
115 // NOLINTBEGIN
116 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
117
118 MCFOLD void $onTerminate();
119
120 MCAPI ::ui::DirtyFlag $tick();
121
122 MCFOLD ::ui::SceneType $getSceneType() const;
123 // NOLINTEND
124
125public:
126 // vftables
127 // NOLINTBEGIN
129
130 MCNAPI static void** $vftableForScreenController();
131 // NOLINTEND
132};
Definition ADPopupButtonAction.h:5
Definition ActiveDirectoryAuthenticationInterface.h:5
Definition ActiveDirectoryAuthenticationScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition ClickSourceContext.h:5
Definition Value.h:16
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition ProgressTips.h:7