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
15class LevelSettings;
16struct LocalWorldInfo;
17struct NetworkWorldInfo;
18namespace Realms { struct RealmId; }
19namespace Realms { struct World; }
20// clang-format on
21
23public:
24 // PlayScreenModel inner types declare
25 // clang-format off
26 struct LiveServer;
28 // clang-format on
29
30 // PlayScreenModel inner types define
31 struct LiveServer {
32 public:
33 // member variables
34 // NOLINTBEGIN
39 // NOLINTEND
40
41 public:
42 // prevent constructor by default
43 LiveServer& operator=(LiveServer const&);
44 LiveServer(LiveServer const&);
45 LiveServer();
46 };
47
49 public:
50 // member variables
51 // NOLINTBEGIN
53 // NOLINTEND
54
55 public:
56 // prevent constructor by default
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
99public:
100 // member variables
101 // NOLINTBEGIN
165 // NOLINTEND
166
167public:
168 // prevent constructor by default
169 PlayScreenModel& operator=(PlayScreenModel const&);
172
173public:
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
201public:
202 // destructor thunk
203 // NOLINTBEGIN
204
205 // NOLINTEND
206
207public:
208 // virtual function thunks
209 // NOLINTBEGIN
210
211 // NOLINTEND
212};
Definition IMinecraftEventing.h:143
Definition IWorldsProvider.h:15
Definition LevelListCacheObserver.h:13
Definition LevelSettings.h:36
Definition MainMenuScreenModel.h:21
Definition PlayScreenModel.h:22
Definition LocalWorldInfo.h:8
Definition NetworkWorldInfo.h:8
Definition PlayScreenModel.h:31
Definition Alias.h:14