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
// virtual function thunks
82
// NOLINTBEGIN
83
84
// NOLINTEND
85
};
86
87
enum class
FetchOutcome :
int
{
88
Success = 0,
89
Failure = 1,
90
Cancelled = 2,
91
};
92
93
public
:
94
// member variables
95
// NOLINTBEGIN
96
::ll::UntypedStorage<8, 8>
mUnkfe9c12;
97
::ll::UntypedStorage<1, 1>
mUnkef984f;
98
::ll::UntypedStorage<8, 24>
mUnkcefad8;
99
::ll::UntypedStorage<8, 24>
mUnk2652c7;
100
::ll::UntypedStorage<8, 24>
mUnk3f9653;
101
::ll::UntypedStorage<8, 24>
mUnk98113e;
102
::ll::UntypedStorage<8, 24>
mUnk17427c;
103
::ll::UntypedStorage<8, 24>
mUnka23e3f;
104
::ll::UntypedStorage<8, 24>
mUnkd1e468;
105
::ll::UntypedStorage<8, 24>
mUnk3dd62a;
106
::ll::UntypedStorage<8, 24>
mUnk3bc784;
107
::ll::UntypedStorage<8, 24>
mUnk488a33;
108
::ll::UntypedStorage<8, 24>
mUnk124320;
109
::ll::UntypedStorage<8, 24>
mUnka68103;
110
::ll::UntypedStorage<8, 64>
mUnke492fc;
111
::ll::UntypedStorage<8, 72>
mUnke5df74;
112
::ll::UntypedStorage<8, 24>
mUnkd91d25;
113
::ll::UntypedStorage<1, 1>
mUnk93708b;
114
::ll::UntypedStorage<8, 24>
mUnk478ae4;
115
::ll::UntypedStorage<1, 1>
mUnk63becc;
116
::ll::UntypedStorage<8, 16>
mUnkf9cdb1;
117
::ll::UntypedStorage<4, 4>
mUnkbf035e;
118
::ll::UntypedStorage<4, 16>
mUnkf62149;
119
::ll::UntypedStorage<1, 1>
mUnkae4f4b;
120
::ll::UntypedStorage<1, 1>
mUnk13f4cd;
121
::ll::UntypedStorage<4, 4>
mUnk1bf2e0;
122
::ll::UntypedStorage<1, 1>
mUnkb40a5e;
123
::ll::UntypedStorage<1, 1>
mUnkf577be;
124
::ll::UntypedStorage<1, 1>
mUnka74247;
125
::ll::UntypedStorage<1, 1>
mUnk23b365;
126
::ll::UntypedStorage<8, 48>
mUnk919b99;
127
::ll::UntypedStorage<8, 24>
mUnkdbf983;
128
::ll::UntypedStorage<1, 1>
mUnk29ff12;
129
::ll::UntypedStorage<1, 1>
mUnka65fbf;
130
::ll::UntypedStorage<1, 1>
mUnk35d55f;
131
::ll::UntypedStorage<1, 1>
mUnk27c849;
132
::ll::UntypedStorage<4, 4>
mUnk60fb6f;
133
::ll::UntypedStorage<8, 32>
mUnkf714e4;
134
::ll::UntypedStorage<8, 16>
mUnk6e1999;
135
::ll::UntypedStorage<8, 8>
mUnk36a0c6;
136
::ll::UntypedStorage<8, 32>
mUnk63414e;
137
::ll::UntypedStorage<1, 1>
mUnk5a3251;
138
::ll::UntypedStorage<8, 8>
mUnkca7731;
139
::ll::UntypedStorage<1, 1>
mUnk598b7c;
140
::ll::UntypedStorage<8, 8>
mUnkb47452;
141
::ll::UntypedStorage<8, 8>
mUnk468cea;
142
::ll::UntypedStorage<4, 4>
mUnk186320;
143
::ll::UntypedStorage<8, 8>
mUnkb92423;
144
::ll::UntypedStorage<8, 16>
mUnka44355;
145
::ll::UntypedStorage<8, 16>
mUnkf00c0c;
146
::ll::UntypedStorage<1, 1>
mUnk8cc807;
147
::ll::UntypedStorage<1, 1>
mUnk67684c;
148
::ll::UntypedStorage<4, 4>
mUnk6532b1;
149
::ll::UntypedStorage<4, 4>
mUnkc8b16a;
150
::ll::UntypedStorage<8, 8>
mUnk8cc361;
151
::ll::UntypedStorage<8, 24>
mUnk90a2f3;
152
::ll::UntypedStorage<8, 16>
mUnk13ae0f;
153
::ll::UntypedStorage<1, 1>
mUnk476e4b;
154
::ll::UntypedStorage<1, 1>
mUnkcff4aa;
155
::ll::UntypedStorage<1, 1>
mUnke3cfef;
156
::ll::UntypedStorage<4, 4>
mUnk65c518;
157
::ll::UntypedStorage<8, 16>
mUnk390e3f;
158
// NOLINTEND
159
160
public
:
161
// prevent constructor by default
162
PlayScreenModel
& operator=(
PlayScreenModel
const
&);
163
PlayScreenModel
(
PlayScreenModel
const
&);
164
PlayScreenModel
();
165
166
public
:
167
// virtual functions
168
// NOLINTBEGIN
169
// vIndex: 0
170
virtual
~PlayScreenModel
()
/*override*/
=
default
;
171
172
// vIndex: 1
173
virtual
int
getWorldCount(::WorldType, ::NetworkWorldType)
const
/*override*/
;
174
175
// vIndex: 2
176
virtual ::LocalWorldInfo
const
* getLocalWorldAtIndex(
int
const
)
const
/*override*/
;
177
178
// vIndex: 3
179
virtual ::LocalWorldInfo
const
* getLocalWorldById(::std::string
const
&)
const
/*override*/
;
180
181
// vIndex: 4
182
virtual
bool
refresh(::WorldType)
/*override*/
;
183
184
// vIndex: 5
185
virtual
void
startLocalWorld(
::LocalWorldInfo
,
::LevelSettings
const
*)
/*override*/
;
186
187
// vIndex: 11
188
virtual
bool
isDirty() const
/*override*/
;
189
190
// vIndex: 14
191
virtual ::
IMinecraftEventing
& getMinecraftEventing() const
/*override*/
;
192
// NOLINTEND
193
194
public:
195
// virtual function thunks
196
// NOLINTBEGIN
197
198
// NOLINTEND
199
};
IMinecraftEventing
Definition
IMinecraftEventing.h:145
IWorldsProvider
Definition
IWorldsProvider.h:15
LevelListCacheObserver
Definition
LevelListCacheObserver.h:13
LevelSettings
Definition
LevelSettings.h:37
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 Fri Jun 13 2025 05:04:17 for LeviLamina by
1.12.0