LeviLamina
Loading...
Searching...
No Matches
PlayScreenModel.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/client/gui/screens/models/MainMenuScreenModel.h"
7
#include "mc/client/gui/screens/models/WorldType.h"
8
#include "mc/client/gui/screens/models/interface/IWorldsProvider.h"
9
#include "mc/client/world/NetworkWorldType.h"
10
#include "mc/world/level/LevelListCacheObserver.h"
11
12
// auto generated forward declare list
13
// clang-format off
14
class
IMinecraftEventing
;
15
class
LevelSettings
;
16
struct
LocalWorldInfo
;
17
struct
NetworkWorldInfo
;
18
namespace
Realms {
struct
RealmId; }
19
namespace
Realms {
struct
World; }
20
// clang-format on
21
22
class
PlayScreenModel
:
public
::MainMenuScreenModel
,
public
::IWorldsProvider
{
23
public
:
24
// PlayScreenModel inner types declare
25
// clang-format off
26
struct
LiveServer
;
27
class
PlayScreenLevelListCacheObserver
;
28
// clang-format on
29
30
// PlayScreenModel inner types define
31
struct
LiveServer
{
32
public
:
33
// member variables
34
// NOLINTBEGIN
35
::ll::UntypedStorage<8, 8>
mUnk6b787d;
36
::ll::UntypedStorage<1, 1>
mUnk9f7f0d;
37
::ll::UntypedStorage<8, 8>
mUnk1db196;
38
::ll::UntypedStorage<1, 1>
mUnkfbebb7;
39
// NOLINTEND
40
41
public
:
42
// prevent constructor by default
43
LiveServer
& operator=(
LiveServer
const
&);
44
LiveServer
(
LiveServer
const
&);
45
LiveServer
();
46
};
47
48
class
PlayScreenLevelListCacheObserver
:
public
::LevelListCacheObserver
{
49
public
:
50
// member variables
51
// NOLINTBEGIN
52
::ll::UntypedStorage<8, 8>
mUnkdebdde;
53
// NOLINTEND
54
55
public
:
56
// prevent constructor by default
57
PlayScreenLevelListCacheObserver
& operator=(
PlayScreenLevelListCacheObserver
const
&);
58
PlayScreenLevelListCacheObserver
(
PlayScreenLevelListCacheObserver
const
&);
59
PlayScreenLevelListCacheObserver
();
60
61
public
:
62
// virtual functions
63
// NOLINTBEGIN
64
// vIndex: 2
65
virtual
void
onLevelAdded(::std::string
const
&)
/*override*/
;
66
67
// vIndex: 3
68
virtual
void
onLevelUpdated(::std::string
const
&)
/*override*/
;
69
70
// vIndex: 4
71
virtual
void
onLevelDeleted(::std::string
const
&)
/*override*/
;
72
73
// vIndex: 6
74
virtual
void
onStorageChanged()
/*override*/
;
75
76
// vIndex: 0
77
virtual
~PlayScreenLevelListCacheObserver
()
/*override*/
=
default
;
78
// NOLINTEND
79
80
public
:
81
// destructor thunk
82
// NOLINTBEGIN
83
84
// NOLINTEND
85
86
public
:
87
// virtual function thunks
88
// NOLINTBEGIN
89
90
// NOLINTEND
91
};
92
93
enum class
FetchOutcome :
int
{
94
Success = 0,
95
Failure = 1,
96
Cancelled = 2,
97
};
98
99
public
:
100
// member variables
101
// NOLINTBEGIN
102
::ll::UntypedStorage<8, 8>
mUnkfe9c12;
103
::ll::UntypedStorage<1, 1>
mUnkef984f;
104
::ll::UntypedStorage<8, 24>
mUnkcefad8;
105
::ll::UntypedStorage<8, 24>
mUnk2652c7;
106
::ll::UntypedStorage<8, 24>
mUnk3f9653;
107
::ll::UntypedStorage<8, 24>
mUnk98113e;
108
::ll::UntypedStorage<8, 24>
mUnk17427c;
109
::ll::UntypedStorage<8, 24>
mUnka23e3f;
110
::ll::UntypedStorage<8, 24>
mUnkd1e468;
111
::ll::UntypedStorage<8, 24>
mUnk3dd62a;
112
::ll::UntypedStorage<8, 24>
mUnk3bc784;
113
::ll::UntypedStorage<8, 24>
mUnk488a33;
114
::ll::UntypedStorage<8, 24>
mUnk124320;
115
::ll::UntypedStorage<8, 24>
mUnka68103;
116
::ll::UntypedStorage<8, 64>
mUnke492fc;
117
::ll::UntypedStorage<8, 72>
mUnke5df74;
118
::ll::UntypedStorage<8, 24>
mUnkd91d25;
119
::ll::UntypedStorage<1, 1>
mUnk93708b;
120
::ll::UntypedStorage<8, 24>
mUnk478ae4;
121
::ll::UntypedStorage<1, 1>
mUnk63becc;
122
::ll::UntypedStorage<8, 16>
mUnkf9cdb1;
123
::ll::UntypedStorage<4, 4>
mUnkbf035e;
124
::ll::UntypedStorage<4, 16>
mUnkf62149;
125
::ll::UntypedStorage<1, 1>
mUnkae4f4b;
126
::ll::UntypedStorage<1, 1>
mUnk13f4cd;
127
::ll::UntypedStorage<4, 4>
mUnk1bf2e0;
128
::ll::UntypedStorage<1, 1>
mUnkb40a5e;
129
::ll::UntypedStorage<1, 1>
mUnkf577be;
130
::ll::UntypedStorage<1, 1>
mUnka74247;
131
::ll::UntypedStorage<1, 1>
mUnk23b365;
132
::ll::UntypedStorage<8, 48>
mUnk919b99;
133
::ll::UntypedStorage<8, 24>
mUnkdbf983;
134
::ll::UntypedStorage<1, 1>
mUnk29ff12;
135
::ll::UntypedStorage<1, 1>
mUnka65fbf;
136
::ll::UntypedStorage<1, 1>
mUnk35d55f;
137
::ll::UntypedStorage<1, 1>
mUnk27c849;
138
::ll::UntypedStorage<4, 4>
mUnk60fb6f;
139
::ll::UntypedStorage<8, 32>
mUnkf714e4;
140
::ll::UntypedStorage<8, 16>
mUnk6e1999;
141
::ll::UntypedStorage<8, 8>
mUnk36a0c6;
142
::ll::UntypedStorage<8, 32>
mUnk63414e;
143
::ll::UntypedStorage<1, 1>
mUnk5a3251;
144
::ll::UntypedStorage<8, 8>
mUnkca7731;
145
::ll::UntypedStorage<1, 1>
mUnk598b7c;
146
::ll::UntypedStorage<8, 8>
mUnkb47452;
147
::ll::UntypedStorage<8, 8>
mUnk468cea;
148
::ll::UntypedStorage<4, 4>
mUnk186320;
149
::ll::UntypedStorage<8, 8>
mUnkf740fe;
150
::ll::UntypedStorage<8, 8>
mUnkb92423;
151
::ll::UntypedStorage<8, 16>
mUnka44355;
152
::ll::UntypedStorage<8, 16>
mUnkf00c0c;
153
::ll::UntypedStorage<1, 1>
mUnk8cc807;
154
::ll::UntypedStorage<1, 1>
mUnk67684c;
155
::ll::UntypedStorage<4, 4>
mUnk6532b1;
156
::ll::UntypedStorage<4, 4>
mUnkc8b16a;
157
::ll::UntypedStorage<8, 8>
mUnk8cc361;
158
::ll::UntypedStorage<8, 24>
mUnk90a2f3;
159
::ll::UntypedStorage<8, 16>
mUnk13ae0f;
160
::ll::UntypedStorage<1, 1>
mUnk476e4b;
161
::ll::UntypedStorage<1, 1>
mUnkcff4aa;
162
::ll::UntypedStorage<1, 1>
mUnke3cfef;
163
::ll::UntypedStorage<4, 4>
mUnk65c518;
164
::ll::UntypedStorage<8, 16>
mUnk390e3f;
165
// NOLINTEND
166
167
public
:
168
// prevent constructor by default
169
PlayScreenModel
& operator=(
PlayScreenModel
const
&);
170
PlayScreenModel
(
PlayScreenModel
const
&);
171
PlayScreenModel
();
172
173
public
:
174
// virtual functions
175
// NOLINTBEGIN
176
// vIndex: 0
177
virtual
~PlayScreenModel
()
/*override*/
=
default
;
178
179
// vIndex: 1
180
virtual
int
getWorldCount(::WorldType, ::NetworkWorldType)
const
/*override*/
;
181
182
// vIndex: 2
183
virtual ::LocalWorldInfo
const
* getLocalWorldAtIndex(
int
const
)
const
/*override*/
;
184
185
// vIndex: 3
186
virtual ::LocalWorldInfo
const
* getLocalWorldById(::std::string
const
&)
const
/*override*/
;
187
188
// vIndex: 4
189
virtual
bool
refresh(::WorldType)
/*override*/
;
190
191
// vIndex: 5
192
virtual
void
startLocalWorld(
::LocalWorldInfo
,
::LevelSettings
const
*)
/*override*/
;
193
194
// vIndex: 11
195
virtual
bool
isDirty() const
/*override*/
;
196
197
// vIndex: 14
198
virtual ::
IMinecraftEventing
& getMinecraftEventing() const
/*override*/
;
199
// NOLINTEND
200
201
public:
202
// destructor thunk
203
// NOLINTBEGIN
204
205
// NOLINTEND
206
207
public:
208
// virtual function thunks
209
// NOLINTBEGIN
210
211
// NOLINTEND
212
};
IMinecraftEventing
Definition
IMinecraftEventing.h:143
IWorldsProvider
Definition
IWorldsProvider.h:15
LevelListCacheObserver
Definition
LevelListCacheObserver.h:13
LevelSettings
Definition
LevelSettings.h:36
MainMenuScreenModel
Definition
MainMenuScreenModel.h:21
PlayScreenModel::PlayScreenLevelListCacheObserver
Definition
PlayScreenModel.h:48
PlayScreenModel
Definition
PlayScreenModel.h:22
LocalWorldInfo
Definition
LocalWorldInfo.h:8
NetworkWorldInfo
Definition
NetworkWorldInfo.h:8
PlayScreenModel::LiveServer
Definition
PlayScreenModel.h:31
ll::UntypedStorage
Definition
Alias.h:14
src
mc
client
gui
screens
models
PlayScreenModel.h
Generated on Sat Apr 26 2025 05:55:21 for LeviLamina by
1.12.0