LeviLamina
Loading...
Searching...
No Matches
LevelSummary.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/WorldType.h"
7#include "mc/deps/core/file/PathBuffer.h"
8#include "mc/deps/shared_types/legacy/Difficulty.h"
9#include "mc/network/GamePublishSetting.h"
10#include "mc/options/EducationEditionOffer.h"
11#include "mc/world/level/GameType.h"
12#include "mc/world/level/storage/StorageVersion.h"
13
14// auto generated forward declare list
15// clang-format off
16class BaseGameVersion;
18class ContentIdentity;
19class Experiments;
20class GameVersion;
21class LevelData;
22class LevelSeed64;
24namespace Core { class Path; }
25// clang-format on
26
28public:
29 // member variables
30 // NOLINTBEGIN
65 // NOLINTEND
66
67public:
68 // member functions
69 // NOLINTBEGIN
70 MCAPI LevelSummary();
71
72 MCAPI LevelSummary(::LevelSummary const&);
73
74 MCAPI LevelSummary(
75 ::std::string const& levelId,
76 ::LevelData const& levelData,
77 ::Core::Path const& levelDirectory,
78 ::Core::Path const& levelInfoDirectory,
79 bool isBetaRetailLevel
80 );
81
82 MCAPI LevelSummary(
83 ::std::string const& id,
84 ::std::string const& name,
85 int64 lastSaved,
86 ::GameType gameType,
87 bool isHardcore,
88 bool playerHasDied,
89 ::SharedTypes::Legacy::Difficulty gameDifficulty,
90 ::LevelSeed64 seed,
91 int npv,
92 uint64 sizeOnDisk,
93 bool confirmedPlatformLockedContent,
94 bool isMultiplayerEnabled,
95 bool lanBroadcastIntent,
96 ::Social::GamePublishSetting xblBroadcastIntent,
97 bool commandsEnabled,
98 ::EducationEditionOffer eduOffer,
99 ::GameVersion const& lastLoadedWithGameVersion,
100 ::GameVersion const& minCompatibleClientVersion,
101 ::StorageVersion storageVersion,
102 ::Core::Path const& path,
103 ::ContentIdentity const& premiumContentIdentity,
104 ::std::string const& educationOid,
105 bool isSingleUseWorld,
106 ::EduSharedUriResource const& eduSharedUriResource,
107 ::Experiments const& experiments,
108 ::BaseGameVersion const& baseGameVersion,
109 ::Editor::WorldType editorWorldType,
110 bool uncompleteWorldFileOnDisk,
111 ::std::optional<::CloudSaveLevelInfo> cloudSaveInfo
112 );
113
114 MCAPI ::std::optional<::Core::PathBuffer<::std::string>> _getScreenshotIconPath(::Core::Path const& worldDirectory);
115
116 MCAPI void _initializeWorldIconPath(::Core::Path const& directory);
117
118 MCAPI bool _isScreenshotIconPath(::Core::PathBuffer<::std::string> const& file);
119
120 MCAPI ::LevelSummary& operator=(::LevelSummary const&);
121
122 MCAPI ::LevelSummary& setName(::std::string Name);
123
124 MCAPI ~LevelSummary();
125 // NOLINTEND
126
127public:
128 // static variables
129 // NOLINTBEGIN
130 MCAPI static ::Core::PathBuffer<::std::string> const& CUSTOM_ICON_FILENAME();
131
132 MCAPI static ::std::string const& DEFAULT_EDU_CLOUD_WORLD_ICON_FILENAME();
133
134 MCAPI static ::std::string const& DEFAULT_WORLD_ICON_FILENAME();
135
136 MCAPI static ::std::string const& INVALID_LEVEL_ID();
137
138 MCAPI static ::std::string const& SCREENSHOT_WORLD_ICON_FILENAME_EXTENSION();
139
140 MCAPI static ::std::string const& SCREENSHOT_WORLD_ICON_FILENAME_PREFIX();
141
142 MCAPI static ::Core::PathBuffer<::std::string> const& WORLD_ICON_FILENAME();
143 // NOLINTEND
144
145public:
146 // constructor thunks
147 // NOLINTBEGIN
148 MCAPI void* $ctor();
149
150 MCAPI void* $ctor(::LevelSummary const&);
151
152 MCAPI void* $ctor(
153 ::std::string const& levelId,
154 ::LevelData const& levelData,
155 ::Core::Path const& levelDirectory,
156 ::Core::Path const& levelInfoDirectory,
157 bool isBetaRetailLevel
158 );
159
160 MCAPI void* $ctor(
161 ::std::string const& id,
162 ::std::string const& name,
163 int64 lastSaved,
164 ::GameType gameType,
165 bool isHardcore,
166 bool playerHasDied,
167 ::SharedTypes::Legacy::Difficulty gameDifficulty,
168 ::LevelSeed64 seed,
169 int npv,
170 uint64 sizeOnDisk,
171 bool confirmedPlatformLockedContent,
172 bool isMultiplayerEnabled,
173 bool lanBroadcastIntent,
174 ::Social::GamePublishSetting xblBroadcastIntent,
175 bool commandsEnabled,
176 ::EducationEditionOffer eduOffer,
177 ::GameVersion const& lastLoadedWithGameVersion,
178 ::GameVersion const& minCompatibleClientVersion,
179 ::StorageVersion storageVersion,
180 ::Core::Path const& path,
181 ::ContentIdentity const& premiumContentIdentity,
182 ::std::string const& educationOid,
183 bool isSingleUseWorld,
184 ::EduSharedUriResource const& eduSharedUriResource,
185 ::Experiments const& experiments,
186 ::BaseGameVersion const& baseGameVersion,
187 ::Editor::WorldType editorWorldType,
188 bool uncompleteWorldFileOnDisk,
189 ::std::optional<::CloudSaveLevelInfo> cloudSaveInfo
190 );
191 // NOLINTEND
192
193public:
194 // destructor thunk
195 // NOLINTBEGIN
196 MCAPI void $dtor();
197 // NOLINTEND
198};
Definition BaseGameVersion.h:13
Definition CloudSaveLevelInfo.h:10
Definition ContentIdentity.h:10
Definition PathBuffer.h:8
Definition Path.h:15
Definition Experiments.h:14
Definition GameVersion.h:10
Definition LevelData.h:48
Definition LevelSeed64.h:5
Definition Path.h:16
Definition EduSharedUriResource.h:10
Definition LevelSummary.h:27
Definition Alias.h:14