3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/models/LegacyWorldConversionManager.h"
7#include "mc/client/gui/screens/models/MainMenuScreenModel.h"
8#include "mc/client/gui/screens/models/MinecraftScreenModel.h"
9#include "mc/client/legacy/ImportStatus.h"
10#include "mc/util/CallbackToken.h"
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LegacyOptionsParser>> mOptionsParser;
26 ::ll::TypedStorage<8, 8, ::Skin const*> mLegacySkin;
27 ::ll::TypedStorage<1, 1, bool> mLegacySkinRetrievalFinished;
28 ::ll::TypedStorage<1, 1, bool> mNeedsRetrievalOnNetworkAvailable;
29 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Legacy::WorldImporter>> mLegacyWorldImporter;
30 ::ll::TypedStorage<8, 24, ::std::vector<::LegacyWorldInfo>> mLegacyWorldList;
31 ::ll::TypedStorage<1, 1, bool> mLegacyWorldsFetched;
32 ::ll::TypedStorage<1, 1, bool> mFetchingLegacyWorldsInProgress;
33 ::ll::TypedStorage<1, 1, bool> mFoundLegacyWorlds;
34 ::ll::TypedStorage<8, 48, ::LegacyWorldConversionManager> mLegacyWorldConversionManager;
35 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mImportedWorldIndex;
36 ::ll::TypedStorage<8, 16, ::CallbackToken> mRetrieveCallbackToken;
37 ::ll::TypedStorage<8, 16, ::CallbackToken> mImportCallbackToken;
42 DayOneExperienceModel();
47 virtual ~DayOneExperienceModel() ;
53 MCAPI
explicit DayOneExperienceModel(::MinecraftScreenModel::Context context);
55 MCAPI
void _fetchWorlds();
57 MCAPI ::std::function<void(::Legacy::ImportStatus,
float, ::std::shared_ptr<::ImportResult>)>
58 _getWorldImportCallback(::std::string
const& levelId, ::std::function<
void()> failureCallback);
60 MCAPI
bool _initOptionsParser();
62 MCAPI
void _onWorldConversionCompleted(::std::shared_ptr<::ImportResult> result, ::std::string
const& levelId);
64 MCAPI
void convertLegacyWorld(uint worldIndex, ::std::function<
void()> failureCallback);
66 MCAPI
void fetchLegacySkin();
68 MCAPI
void onWizardComplete();
74 MCAPI
void* $ctor(::MinecraftScreenModel::Context context);
Definition DayOneExperienceModel.h:5
static MCAPI void ** $vftableForIDlcBatcher()
static MCAPI void ** $vftableForIMinecraftScreenModel()
static MCAPI void ** $vftable()
Definition MainMenuScreenModel.h:5
Definition ImportResult.h:5
Definition LegacyOptionsParser.h:5
Definition LegacyWorldInfo.h:5
Definition WorldImporter.h:7