3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/GameConnectionInfoEx.h"
7#include "mc/client/gui/ProgressHandler.h"
8#include "mc/client/network/realms/RealmId.h"
9#include "mc/client/services/live_events/ExperienceJoinRequestInfo.h"
10#include "mc/client/social/MultiplayerGameInfo.h"
11#include "mc/network/connection/ReconnectionType.h"
12#include "mc/world/actor/player/LoadingState.h"
27 ::GameConnectionInfoEx,
28 ::Social::MultiplayerGameInfo,
29 ::ExperienceJoinRequestInfo,
32 ::ll::TypedStorage<1, 1, ::Connection::ReconnectionType> mType;
33 ::ll::TypedStorage<8, 16, ::std::optional<::std::chrono::steady_clock::time_point>> mSuspendTime;
34 ::ll::TypedStorage<8, 16, ::std::optional<::std::chrono::steady_clock::time_point>> mReconnectInitiated;
39 ReconnectGameProgressHandler();
44 virtual ~ReconnectGameProgressHandler() =
default;
46 virtual void onStart(::MinecraftScreenModel&) ;
48 virtual void tick(::MinecraftScreenModel& minecraftScreenModel) ;
50 virtual void onCancel(::MinecraftScreenModel& minecraftScreenModel) ;
52 virtual void onExit(::MinecraftScreenModel&) ;
54 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&)
const ;
56 virtual ::std::string getProgressMessage(::MinecraftScreenModel&)
const ;
58 virtual ::std::string getTitleText() const ;
60 virtual ::std::
string getName() const ;
66 MCAPI ReconnectGameProgressHandler(
68 ::GameConnectionInfoEx,
69 ::Social::MultiplayerGameInfo,
70 ::ExperienceJoinRequestInfo,
71 ::Realms::RealmId> cookie,
72 ::Connection::ReconnectionType type
81 ::GameConnectionInfoEx,
82 ::Social::MultiplayerGameInfo,
83 ::ExperienceJoinRequestInfo,
84 ::Realms::RealmId> cookie,
85 ::Connection::ReconnectionType type
92 MCFOLD
void $onStart(::MinecraftScreenModel&);
94 MCAPI
void $tick(::MinecraftScreenModel& minecraftScreenModel);
96 MCFOLD
void $onCancel(::MinecraftScreenModel& minecraftScreenModel);
98 MCFOLD
void $onExit(::MinecraftScreenModel&);
100 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
102 MCAPI ::std::
string $getProgressMessage(::MinecraftScreenModel&) const;
104 MCAPI ::std::
string $getTitleText() const;
106 MCAPI ::std::
string $getName() const;
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition ReconnectGameProgressHandler.h:5
static MCAPI void ** $vftable()