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
67 // NOLINTEND
68
69public:
70 // member functions
71 // NOLINTBEGIN
72 MCNAPI LevelSummary();
73
75
77 ::std::string const& levelId,
78 ::LevelData const& levelData,
79 ::Core::Path const& levelDirectory,
80 ::Core::Path const& levelInfoDirectory,
81 bool isBetaRetailLevel
82 );
83
85 ::std::string const& id,
86 ::std::string const& name,
87 int64 lastSaved,
88 ::GameType gameType,
89 bool isHardcore,
90 bool playerHasDied,
91 ::SharedTypes::Legacy::Difficulty gameDifficulty,
92 ::LevelSeed64 seed,
93 int npv,
94 uint64 sizeOnDisk,
95 bool confirmedPlatformLockedContent,
96 bool isMultiplayerEnabled,
97 bool lanBroadcastIntent,
98 ::Social::GamePublishSetting xblBroadcastIntent,
99 bool commandsEnabled,
100 ::EducationEditionOffer eduOffer,
101 ::GameVersion const& lastLoadedWithGameVersion,
102 ::GameVersion const& minCompatibleClientVersion,
103 ::StorageVersion storageVersion,
104 ::Core::Path const& path,
105 ::ContentIdentity const& premiumContentIdentity,
106 ::std::string const& educationOid,
107 bool isSingleUseWorld,
108 ::EduSharedUriResource const& eduSharedUriResource,
109 ::Experiments const& experiments,
110 ::BaseGameVersion const& baseGameVersion,
111 ::Editor::WorldType editorWorldType,
112 bool uncompleteWorldFileOnDisk,
113 ::std::optional<::CloudSaveLevelInfo> cloudSaveInfo
114 );
115
116 MCNAPI ::std::optional<::Core::PathBuffer<::std::string>>
117 _getScreenshotIconPath(::Core::Path const& worldDirectory);
118
119 MCNAPI void _initializeWorldIconPath(::Core::Path const& directory);
120
122
123 MCNAPI ::LevelSummary& operator=(::LevelSummary const&);
124
125 MCNAPI ::LevelSummary& setName(::std::string Name);
126
128 // NOLINTEND
129
130public:
131 // static variables
132 // NOLINTBEGIN
133 MCNAPI static ::Core::PathBuffer<::std::string> const& CUSTOM_ICON_FILENAME();
134
135 MCNAPI static ::std::string const& DEFAULT_EDU_CLOUD_WORLD_ICON_FILENAME();
136
137 MCNAPI static ::std::string const& DEFAULT_WORLD_ICON_FILENAME();
138
139 MCNAPI static ::std::string const& INVALID_LEVEL_ID();
140
141 MCNAPI static ::std::string const& SCREENSHOT_WORLD_ICON_FILENAME_EXTENSION();
142
143 MCNAPI static ::std::string const& SCREENSHOT_WORLD_ICON_FILENAME_PREFIX();
144
145 MCNAPI static ::Core::PathBuffer<::std::string> const& WORLD_ICON_FILENAME();
146 // NOLINTEND
147
148public:
149 // constructor thunks
150 // NOLINTBEGIN
151 MCNAPI void* $ctor();
152
153 MCNAPI void* $ctor(::LevelSummary const&);
154
155 MCNAPI void* $ctor(
156 ::std::string const& levelId,
157 ::LevelData const& levelData,
158 ::Core::Path const& levelDirectory,
159 ::Core::Path const& levelInfoDirectory,
160 bool isBetaRetailLevel
161 );
162
163 MCNAPI void* $ctor(
164 ::std::string const& id,
165 ::std::string const& name,
166 int64 lastSaved,
167 ::GameType gameType,
168 bool isHardcore,
169 bool playerHasDied,
170 ::SharedTypes::Legacy::Difficulty gameDifficulty,
171 ::LevelSeed64 seed,
172 int npv,
173 uint64 sizeOnDisk,
174 bool confirmedPlatformLockedContent,
175 bool isMultiplayerEnabled,
176 bool lanBroadcastIntent,
177 ::Social::GamePublishSetting xblBroadcastIntent,
178 bool commandsEnabled,
179 ::EducationEditionOffer eduOffer,
180 ::GameVersion const& lastLoadedWithGameVersion,
181 ::GameVersion const& minCompatibleClientVersion,
182 ::StorageVersion storageVersion,
183 ::Core::Path const& path,
184 ::ContentIdentity const& premiumContentIdentity,
185 ::std::string const& educationOid,
186 bool isSingleUseWorld,
187 ::EduSharedUriResource const& eduSharedUriResource,
188 ::Experiments const& experiments,
189 ::BaseGameVersion const& baseGameVersion,
190 ::Editor::WorldType editorWorldType,
191 bool uncompleteWorldFileOnDisk,
192 ::std::optional<::CloudSaveLevelInfo> cloudSaveInfo
193 );
194 // NOLINTEND
195
196public:
197 // destructor thunk
198 // NOLINTBEGIN
199 MCNAPI void $dtor();
200 // NOLINTEND
201};
Definition BaseGameVersion.h:8
Definition CloudSaveLevelInfo.h:10
Definition ContentIdentity.h:8
Definition PathBuffer.h:8
Definition Path.h:17
Definition Experiments.h:14
Definition GameVersion.h:10
Definition LevelData.h:49
Definition LevelSeed64.h:5
Definition Path.h:16
Definition EduSharedUriResource.h:10
Definition LevelSummary.h:27
MCAPI ::std::optional<::Core::PathBuffer<::std::string > > _getScreenshotIconPath(::Core::Path const &worldDirectory)
MCAPI LevelSummary(::std::string const &id, ::std::string const &name, int64 lastSaved, ::GameType gameType, bool isHardcore, bool playerHasDied, ::SharedTypes::Legacy::Difficulty gameDifficulty, ::LevelSeed64 seed, int npv, uint64 sizeOnDisk, bool confirmedPlatformLockedContent, bool isMultiplayerEnabled, bool lanBroadcastIntent, ::Social::GamePublishSetting xblBroadcastIntent, bool commandsEnabled, ::EducationEditionOffer eduOffer, ::GameVersion const &lastLoadedWithGameVersion, ::GameVersion const &minCompatibleClientVersion, ::StorageVersion storageVersion, ::Core::Path const &path, ::ContentIdentity const &premiumContentIdentity, ::std::string const &educationOid, bool isSingleUseWorld, ::EduSharedUriResource const &eduSharedUriResource, ::Experiments const &experiments, ::BaseGameVersion const &baseGameVersion, ::Editor::WorldType editorWorldType, bool uncompleteWorldFileOnDisk, ::std::optional<::CloudSaveLevelInfo > cloudSaveInfo)
MCAPI LevelSummary()
MCAPI LevelSummary(::LevelSummary const &)
MCAPI::LevelSummary & setName(::std::string Name)
MCAPI void * $ctor(::LevelSummary const &)
static MCAPI ::std::string const & SCREENSHOT_WORLD_ICON_FILENAME_PREFIX()
MCAPI void _initializeWorldIconPath(::Core::Path const &directory)
MCAPI void * $ctor()
MCAPI bool _isScreenshotIconPath(::Core::PathBuffer<::std::string > const &file)
static MCAPI ::std::string const & DEFAULT_WORLD_ICON_FILENAME()
MCAPI::LevelSummary & operator=(::LevelSummary const &)
static MCAPI ::Core::PathBuffer<::std::string > const & CUSTOM_ICON_FILENAME()
static MCAPI ::std::string const & INVALID_LEVEL_ID()
MCAPI LevelSummary(::std::string const &levelId, ::LevelData const &levelData, ::Core::Path const &levelDirectory, ::Core::Path const &levelInfoDirectory, bool isBetaRetailLevel)
MCAPI void * $ctor(::std::string const &levelId, ::LevelData const &levelData, ::Core::Path const &levelDirectory, ::Core::Path const &levelInfoDirectory, bool isBetaRetailLevel)
static MCAPI ::std::string const & DEFAULT_EDU_CLOUD_WORLD_ICON_FILENAME()
static MCAPI ::std::string const & SCREENSHOT_WORLD_ICON_FILENAME_EXTENSION()
MCAPI void $dtor()
MCAPI void * $ctor(::std::string const &id, ::std::string const &name, int64 lastSaved, ::GameType gameType, bool isHardcore, bool playerHasDied, ::SharedTypes::Legacy::Difficulty gameDifficulty, ::LevelSeed64 seed, int npv, uint64 sizeOnDisk, bool confirmedPlatformLockedContent, bool isMultiplayerEnabled, bool lanBroadcastIntent, ::Social::GamePublishSetting xblBroadcastIntent, bool commandsEnabled, ::EducationEditionOffer eduOffer, ::GameVersion const &lastLoadedWithGameVersion, ::GameVersion const &minCompatibleClientVersion, ::StorageVersion storageVersion, ::Core::Path const &path, ::ContentIdentity const &premiumContentIdentity, ::std::string const &educationOid, bool isSingleUseWorld, ::EduSharedUriResource const &eduSharedUriResource, ::Experiments const &experiments, ::BaseGameVersion const &baseGameVersion, ::Editor::WorldType editorWorldType, bool uncompleteWorldFileOnDisk, ::std::optional<::CloudSaveLevelInfo > cloudSaveInfo)
MCAPI ~LevelSummary()
static MCAPI ::Core::PathBuffer<::std::string > const & WORLD_ICON_FILENAME()
Definition Alias.h:14