LeviLamina
Loading...
Searching...
No Matches
EditorManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/editor/serviceproviders/EditorManagerServiceProvider.h"
9#include "mc/editor/services/EditorServiceList.h"
10#include "mc/server/editor/IEditorManager.h"
11#include "mc/world/level/FileArchiver.h"
12
13// auto generated forward declare list
14// clang-format off
16class ILevelListCache;
19class PacketSender;
20class Scheduler;
21namespace Editor { class ServiceProviderCollection; }
22namespace Editor { struct EditorInitParams; }
23namespace Scripting { struct ContextId; }
24// clang-format on
25
26namespace Editor {
27
28class EditorManager : public ::Editor::IEditorManager,
31public:
32 // member variables
33 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 EditorManager& operator=(EditorManager const&);
41 EditorManager(EditorManager const&);
42 EditorManager();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual ~EditorManager() /*override*/;
48
49 virtual ::std::unique_ptr<::FileArchiver::IWorldConverter> createWorldConverter(
50 ::ILevelListCache& levelListCache,
51 ::Scheduler& scheduler,
52 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& resourcePackRepository,
53 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> keyProvider
54 ) /*override*/;
55
56 virtual void cleanupOrphanedTemporaryPlaytestWorlds(::ILevelListCache& levelListCache) const /*override*/;
57
58 virtual void cleanupOrphanedTemporaryRealmsUploadWorlds() /*override*/;
59
60 virtual ::Scripting::Result_deprecated<void> scriptingTeardown() /*override*/;
61
62 virtual ::Scripting::Result_deprecated<void>
63 scriptingRebuild(::Scripting::ContextId contextId, bool finalEvent) /*override*/;
64
65 virtual void tryClearPlaytestRoundtripInfo() /*override*/;
66
67 virtual ::Editor::ServiceProviderCollection& getServiceProviders() /*override*/;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
74 bool isClient,
75 ::PacketSender& packetSender,
76 ::IMinecraftEventing& eventing,
77 ::gsl::not_null<::Editor::EditorInitParams*> params
78 );
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCNAPI void* $ctor(
85 bool isClient,
86 ::PacketSender& packetSender,
87 ::IMinecraftEventing& eventing,
88 ::gsl::not_null<::Editor::EditorInitParams*> params
89 );
90 // NOLINTEND
91
92public:
93 // destructor thunk
94 // NOLINTBEGIN
95 MCNAPI void $dtor();
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101 MCNAPI ::std::unique_ptr<::FileArchiver::IWorldConverter> $createWorldConverter(
102 ::ILevelListCache& levelListCache,
103 ::Scheduler& scheduler,
104 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& resourcePackRepository,
105 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> keyProvider
106 );
107
109
111
112 MCNAPI ::Scripting::Result_deprecated<void> $scriptingTeardown();
113
114 MCNAPI ::Scripting::Result_deprecated<void> $scriptingRebuild(::Scripting::ContextId contextId, bool finalEvent);
115
117
118 MCNAPI ::Editor::ServiceProviderCollection& $getServiceProviders();
119
120
121 // NOLINTEND
122
123public:
124 // vftables
125 // NOLINTBEGIN
127
128 MCNAPI static void** $vftableForEditorServiceList();
129
130 MCNAPI static void** $vftableForIEditorManager();
131 // NOLINTEND
132};
133
134} // namespace Editor
Definition EditorManagerServiceProvider.h:12
static MCAPI void ** $vftableForEditorManagerServiceProvider()
MCAPI ::std::unique_ptr<::FileArchiver::IWorldConverter > $createWorldConverter(::ILevelListCache &levelListCache, ::Scheduler &scheduler, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > const &resourcePackRepository, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > keyProvider)
MCAPI EditorManager(bool isClient, ::PacketSender &packetSender, ::IMinecraftEventing &eventing, ::gsl::not_null<::Editor::EditorInitParams * > params)
MCAPI ::Scripting::Result_deprecated< void > $scriptingTeardown()
MCAPI ::Scripting::Result_deprecated< void > $scriptingRebuild(::Scripting::ContextId contextId, bool finalEvent)
static MCAPI void ** $vftableForEditorServiceList()
MCAPI void $tryClearPlaytestRoundtripInfo()
MCAPI::Editor::ServiceProviderCollection & $getServiceProviders()
MCAPI void $cleanupOrphanedTemporaryRealmsUploadWorlds()
MCAPI void $cleanupOrphanedTemporaryPlaytestWorlds(::ILevelListCache &levelListCache) const
MCAPI void * $ctor(bool isClient, ::PacketSender &packetSender, ::IMinecraftEventing &eventing, ::gsl::not_null<::Editor::EditorInitParams * > params)
static MCAPI void ** $vftableForIEditorManager()
Definition IEditorManager.h:25
Definition ServiceProviderCollection.h:7
Definition EditorServiceList.h:16
Definition IContentKeyProvider.h:13
Definition ILevelListCache.h:27
Definition IMinecraftEventing.h:134
Definition IResourcePackRepository.h:34
Definition PacketSender.h:17
Definition Scheduler.h:14
Definition EditorInitParams.h:7
Definition ContextId.h:7
Definition Alias.h:14