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.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>
43 createWorldConverter(::ILevelListCache&, ::Scheduler&, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const&, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>) = 0;
44
45 // vIndex: 5
46 virtual void cleanupOrphanedTemporaryPlaytestWorlds(::ILevelListCache&) const = 0;
47
48 // vIndex: 6
49 virtual ::Scripting::Result<void> scriptingTeardown() = 0;
50
51 // vIndex: 7
52 virtual ::Scripting::Result<void> scriptingRebuild(::Scripting::ContextId, bool) = 0;
53
54 // vIndex: 8
55 virtual void tryClearPlaytestRoundtripInfo() = 0;
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCFOLD void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67
68 // NOLINTEND
69};
70
71} // 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