LeviLamina
Loading...
Searching...
No Matches
ReconnectGameProgressHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
13
14// auto generated forward declare list
15// clang-format off
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<
24 8,
25 864,
26 ::std::variant<
27 ::GameConnectionInfoEx,
28 ::Social::MultiplayerGameInfo,
29 ::ExperienceJoinRequestInfo,
30 ::Realms::RealmId>>
31 mCookie;
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;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 ReconnectGameProgressHandler();
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual ~ReconnectGameProgressHandler() /*override*/ = default;
45
46 virtual void onStart(::MinecraftScreenModel&) /*override*/;
47
48 virtual void tick(::MinecraftScreenModel& minecraftScreenModel) /*override*/;
49
50 virtual void onCancel(::MinecraftScreenModel& minecraftScreenModel) /*override*/;
51
52 virtual void onExit(::MinecraftScreenModel&) /*override*/;
53
54 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&) const /*override*/;
55
56 virtual ::std::string getProgressMessage(::MinecraftScreenModel&) const /*override*/;
57
58 virtual ::std::string getTitleText() const /*override*/;
59
60 virtual ::std::string getName() const /*override*/;
61 // NOLINTEND
62
63public:
64 // member functions
65 // NOLINTBEGIN
66 MCAPI ReconnectGameProgressHandler(
67 ::std::variant<
68 ::GameConnectionInfoEx,
69 ::Social::MultiplayerGameInfo,
70 ::ExperienceJoinRequestInfo,
71 ::Realms::RealmId> cookie,
72 ::Connection::ReconnectionType type
73 );
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor(
80 ::std::variant<
81 ::GameConnectionInfoEx,
82 ::Social::MultiplayerGameInfo,
83 ::ExperienceJoinRequestInfo,
84 ::Realms::RealmId> cookie,
85 ::Connection::ReconnectionType type
86 );
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCFOLD void $onStart(::MinecraftScreenModel&);
93
94 MCAPI void $tick(::MinecraftScreenModel& minecraftScreenModel);
95
96 MCFOLD void $onCancel(::MinecraftScreenModel& minecraftScreenModel);
97
98 MCFOLD void $onExit(::MinecraftScreenModel&);
99
100 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
101
102 MCAPI ::std::string $getProgressMessage(::MinecraftScreenModel&) const;
103
104 MCAPI ::std::string $getTitleText() const;
105
106 MCAPI ::std::string $getName() const;
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCNAPI static void** $vftable();
113 // NOLINTEND
114};
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition ReconnectGameProgressHandler.h:5
static MCAPI void ** $vftable()