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& player) = 0;
36
37 virtual ::std::unique_ptr<::FileArchiver::IWorldConverter> createWorldConverter(
38 ::ILevelListCache& levelListCache,
39 ::Scheduler& scheduler,
40 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& resourcePackRepository,
41 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> keyProvider
42 ) = 0;
43
44 virtual void cleanupOrphanedTemporaryPlaytestWorlds(::ILevelListCache& levelListCache) const = 0;
45
46 virtual void cleanupOrphanedTemporaryRealmsUploadWorlds() = 0;
47
48 virtual ::Scripting::Result_deprecated<void> scriptingTeardown() = 0;
49
50 virtual ::Scripting::Result_deprecated<void>
51 scriptingRebuild(::Scripting::ContextId contextId, bool finalEvent) = 0;
52
53 virtual void tryClearPlaytestRoundtripInfo() = 0;
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65
66 // NOLINTEND
67};
68
69} // 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:129
Definition Scheduler.h:14
Definition ContextId.h:7