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 MCNAPI ReconnectGameProgressHandler(
69 ::Social::MultiplayerGameInfo,
71 ::Realms::RealmId> cookie,
72 ::Connection::ReconnectionType type
82 ::Social::MultiplayerGameInfo,
84 ::Realms::RealmId> cookie,
85 ::Connection::ReconnectionType type
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition ReconnectGameProgressHandler.h:5
MCAPI::std::string $getName() const
MCAPI::std::string $getTitleText() const
MCAPI::LoadingState $getLoadingState(::MinecraftScreenModel &) const
MCAPI void $onExit(::MinecraftScreenModel &)
MCAPI void $tick(::MinecraftScreenModel &minecraftScreenModel)
MCAPI::std::string $getProgressMessage(::MinecraftScreenModel &) const
MCAPI void $onCancel(::MinecraftScreenModel &minecraftScreenModel)
MCAPI void $onStart(::MinecraftScreenModel &)
MCAPI void * $ctor(::std::variant< ::GameConnectionInfoEx, ::Social::MultiplayerGameInfo, ::ExperienceJoinRequestInfo, ::Realms::RealmId > cookie, ::Connection::ReconnectionType type)
static MCAPI void ** $vftable()
Definition ExperienceJoinRequestInfo.h:5
Definition GameConnectionInfoEx.h:5