LeviLamina
Loading...
Searching...
No Matches
WorldTransferer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/world/TransferResult.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class FileArchiver;
12class ILevelListCache;
14namespace World { class IWorldStorageHandler; }
15// clang-format on
16
17namespace World {
18
19class WorldTransferer {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, bool> mIsEditorModeEnabled;
24 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::FileArchiver>> mFileArchiver;
25 ::ll::TypedStorage<8, 8, ::ILevelListCache&> mLevelListCache;
26 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
27 ::ll::TypedStorage<8, 8, ::World::IWorldStorageHandler&> mWorldStorageHandler;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 WorldTransferer& operator=(WorldTransferer const&);
33 WorldTransferer(WorldTransferer const&);
34 WorldTransferer();
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI void _importWorldWindows(::std::function<void(::World::TransferResult)> onImportComplete);
40
41 MCAPI float getProgress();
42
43 MCAPI void importWorld(::std::function<void(::World::TransferResult)> onImportComplete);
44 // NOLINTEND
45};
46
47} // namespace World
Definition FileArchiver.h:36
Definition ILevelListCache.h:27
Definition IMinecraftEventing.h:145
Definition IWorldStorageHandler.h:7
Definition WorldTransferer.h:7