3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
8#include "mc/editor/EditorManager.h"
9#include "mc/world/events/EventListenerDispatcher.h"
10#include "mc/world/events/EventResult.h"
11#include "mc/world/events/LevelEventListener.h"
12#include "mc/world/events/ServerInstanceEventListener.h"
13#include "mc/world/level/FileArchiver.h"
51 EditorManagerServer& operator=(EditorManagerServer
const&);
52 EditorManagerServer(EditorManagerServer
const&);
53 EditorManagerServer();
58 virtual ~EditorManagerServer() =
default;
60 virtual bool isClientSide()
const ;
62 virtual ::std::unique_ptr<::Editor::IEditorPlayer> createPlayer(
::Player& player) ;
70 virtual ::EventResult onLevelTick(
::Level&) ;
72 virtual ::Scripting::Result_deprecated<void> scriptingTeardown() ;
74 virtual ::Scripting::Result_deprecated<void> scriptingRebuild() ;
76 virtual bool isEditorModeOrInEditorWorld()
const ;
78 virtual ::std::unique_ptr<::FileArchiver::IWorldConverter> createWorldConverter(
81 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository>
const& resourcePackRepository,
82 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> keyProvider
91 bool isEditorModeEnabled,
92 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager> fileManager,
93 ::std::unique_ptr<::Editor::EditorInitParams> editorInitParams,
94 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> resourcePackRepository
107 bool isEditorModeEnabled,
108 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager> fileManager,
109 ::std::unique_ptr<::Editor::EditorInitParams> editorInitParams,
110 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> resourcePackRepository
138 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository>
const& resourcePackRepository,
139 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> keyProvider
Definition FilePathManager.h:18
MCAPI void * $ctor(::ServerInstance &server, bool isEditorModeEnabled, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > fileManager, ::std::unique_ptr<::Editor::EditorInitParams > editorInitParams, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > resourcePackRepository)
MCAPI void _dispatchToServerPlayers(::Editor::Network::INetworkPayload &payload)
MCAPI ::Scripting::Result_deprecated< void > $scriptingTeardown()
MCAPI EditorManagerServer(::ServerInstance &server, bool isEditorModeEnabled, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > fileManager, ::std::unique_ptr<::Editor::EditorInitParams > editorInitParams, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > resourcePackRepository)
MCAPI ::std::unique_ptr<::Editor::IEditorPlayer > $createPlayer(::Player &player)
MCAPI::EventResult $onStartLeaveGame(::ServerInstance &instance)
MCAPI bool $isClientSide() const
MCAPI::EventResult $onServerLevelInitialized(::ServerInstance &instance, ::Level &level)
MCAPI ::std::vector<::std::unique_ptr<::Scripting::GenericModuleBindingFactory > > getServerModuleFactories()
MCAPI::EventResult $onEvent(::ScriptingWorldInitializeEvent const &)
MCAPI bool $isEditorModeOrInEditorWorld() const
MCAPI ::Scripting::Result_deprecated< void > $scriptingRebuild()
MCAPI ::std::unique_ptr<::FileArchiver::IWorldConverter > $createWorldConverter(::ILevelListCache &levelListCache, ::Scheduler &scheduler, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > const &resourcePackRepository, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > keyProvider)
MCAPI::EventResult $onLevelTick(::Level &)
Definition EditorManager.h:31
Definition IEditorPlayer.h:17
Definition INetworkPayload.h:7
Definition EventListenerDispatcher.h:6
Definition IContentKeyProvider.h:13
Definition ILevelListCache.h:27
Definition IResourcePackRepository.h:35
Definition Scheduler.h:14
Definition GenericModuleBindingFactory.h:20
Definition ServerInstanceEventListener.h:17
Definition ServerInstance.h:76
Definition EditorInitParams.h:7
Definition ScriptingWorldInitializeEvent.h:12