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 virtual ~IEditorManager() /*override*/;
30
31 virtual ::Editor::ServiceProviderCollection& getServiceProviders() = 0;
32
33 virtual bool isClientSide() const = 0;
34
35 virtual ::std::unique_ptr<::Editor::IEditorPlayer> createPlayer(::Player&) = 0;
36
37 virtual ::std::unique_ptr<::FileArchiver::IWorldConverter> createWorldConverter(
40 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const&,
41 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
42 ) = 0;
43
44 virtual void cleanupOrphanedTemporaryPlaytestWorlds(::ILevelListCache&) const = 0;
45
46 virtual void cleanupOrphanedTemporaryRealmsUploadWorlds() = 0;
47
48 virtual ::Scripting::Result_deprecated<void> scriptingTeardown() = 0;
49
50 virtual ::Scripting::Result_deprecated<void> scriptingRebuild(::Scripting::ContextId, bool) = 0;
51
52 virtual void tryClearPlaytestRoundtripInfo() = 0;
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64
65 // NOLINTEND
66};
67
68} // namespace Editor
Definition EnableNonOwnerReferences.h:7
Definition IEditorManager.h:25
Definition IEditorPlayer.h:16
Definition ServiceProviderCollection.h:7
Definition IContentKeyProvider.h:13
Definition ILevelListCache.h:27
Definition IResourcePackRepository.h:34
Definition Player.h:125
Definition Scheduler.h:14
Definition ContextId.h:7