3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/EduServerProgressRetryResult.h"
7#include "mc/client/gui/EmptyProgressHandler.h"
8#include "mc/client/gui/ProgressAnimation.h"
9#include "mc/deps/core/threading/TaskGroup.h"
10#include "mc/platform/brstd/move_only_function.h"
11#include "mc/social/EduDedicatedServerDetails.h"
12#include "mc/social/EduJoinServerResponse.h"
13#include "mc/social/EduResponseError.h"
14#include "mc/world/actor/player/LoadingState.h"
26 ::ll::TypedStorage<4, 4, ::LoadingState> mLoadingState;
27 ::ll::TypedStorage<8, 88, ::Social::EduDedicatedServerDetails> mDetails;
28 ::ll::TypedStorage<8, 32, ::std::string> mPasscode;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlayScreenModel>> mPlayScreenModel;
30 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<void()>> mReopenPasscodeEntry;
31 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
32 ::ll::TypedStorage<8, 64, ::Social::EduResponseError> mError;
33 ::ll::TypedStorage<8, 272, ::Social::EduJoinServerResponse> mJoinResponse;
34 ::ll::TypedStorage<4, 4, ::Social::EduServerProgressRetryResult> mRetryResult;
35 ::ll::TypedStorage<8, 32, ::std::string> mTitleText;
36 ::ll::TypedStorage<8, 32, ::std::string> mProgressText;
37 ::ll::TypedStorage<8, 32, ::std::string> mPreviousProgressText;
42 EduHeadlessServerResolvingProgressHandler();
47 virtual ~EduHeadlessServerResolvingProgressHandler() ;
49 virtual void onStart(::MinecraftScreenModel& minecraftScreenModel) ;
51 virtual void tick(::MinecraftScreenModel& minecraftScreenModel) ;
53 virtual void onCancel(::MinecraftScreenModel& minecraftScreenModel) ;
55 virtual void onExit(::MinecraftScreenModel& minecraftScreenModel) ;
57 virtual void onRetry(::MinecraftScreenModel& minecraftScreenModel) ;
59 virtual ::LoadingState getLoadingState(::MinecraftScreenModel& minecraftScreenModel)
const ;
61 virtual ::std::string getProgressMessage(::MinecraftScreenModel& minecraftScreenModel)
const ;
63 virtual ::std::string getTitleText() const ;
65 virtual ::std::
string getName() const ;
67 virtual ::ProgressAnimation showLoadingBar() const ;
73 MCAPI EduHeadlessServerResolvingProgressHandler(
74 ::Social::EduDedicatedServerDetails const& details,
75 ::std::
string const& passcode,
76 ::std::shared_ptr<::PlayScreenModel> model,
77 ::brstd::move_only_function<
void()>& reopenPasscodeEntry
80 MCAPI
void _handleErrors(::MinecraftScreenModel& minecraftScreenModel);
87 ::Social::EduDedicatedServerDetails const& details,
88 ::std::
string const& passcode,
89 ::std::shared_ptr<::PlayScreenModel> model,
90 ::brstd::move_only_function<
void()>& reopenPasscodeEntry
103 MCAPI
void $onStart(::MinecraftScreenModel& minecraftScreenModel);
105 MCAPI
void $tick(::MinecraftScreenModel& minecraftScreenModel);
107 MCAPI
void $onCancel(::MinecraftScreenModel& minecraftScreenModel);
109 MCAPI
void $onExit(::MinecraftScreenModel& minecraftScreenModel);
111 MCAPI
void $onRetry(::MinecraftScreenModel& minecraftScreenModel);
113 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel& minecraftScreenModel) const;
115 MCAPI ::std::
string $getProgressMessage(::MinecraftScreenModel& minecraftScreenModel) const;
117 MCAPI ::std::
string $getTitleText() const;
119 MCAPI ::std::
string $getName() const;
121 MCFOLD ::ProgressAnimation $showLoadingBar() const;
Definition EduHeadlessServerResolvingProgressHandler.h:5
static MCAPI void ** $vftable()
Definition EmptyProgressHandler.h:5
Definition MinecraftScreenModel.h:5
Definition PlayScreenModel.h:5