LeviLamina
Loading...
Searching...
No Matches
IEditorManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/world/level/FileArchiver.h"
10
11// auto generated forward declare list
12// clang-format off
14class ILevelListCache;
16class Player;
17class Scheduler;
18namespace Editor { class IEditorPlayer; }
19namespace Editor { class ServiceProviderCollection; }
20namespace Scripting { struct ContextId; }
21// clang-format on
22
23namespace Editor {
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ~IEditorManager() /*override*/;
31
32 // vIndex: 1
33 virtual ::Editor::ServiceProviderCollection& getServiceProviders() = 0;
34
35 // vIndex: 2
36 virtual bool isClientSide() const = 0;
37
38 // vIndex: 3
39 virtual ::std::unique_ptr<::Editor::IEditorPlayer> createPlayer(::Player&) = 0;
40
41 // vIndex: 4
42 virtual ::std::unique_ptr<::FileArchiver::IWorldConverter> createWorldConverter(
45 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const&,
46 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
47 ) = 0;
48
49 // vIndex: 5
50 virtual void cleanupOrphanedTemporaryPlaytestWorlds(::ILevelListCache&) const = 0;
51
52 // vIndex: 6
53 virtual void cleanupOrphanedTemporaryRealmsUploadWorlds() = 0;
54
55 // vIndex: 7
56 virtual ::Scripting::Result_deprecated<void> scriptingTeardown() = 0;
57
58 // vIndex: 8
59 virtual ::Scripting::Result_deprecated<void> scriptingRebuild(::Scripting::ContextId, bool) = 0;
60
61 // vIndex: 9
62 virtual void tryClearPlaytestRoundtripInfo() = 0;
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCNAPI void $dtor();
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74
75 // NOLINTEND
76};
77
78} // namespace Editor
Definition EnableNonOwnerReferences.h:7
Definition IEditorManager.h:25
Definition IContentKeyProvider.h:13
Definition ILevelListCache.h:27
Definition IResourcePackRepository.h:33
Definition Player.h:119
Definition Scheduler.h:13
Definition ContextId.h:7