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"
50 EditorManagerServer& operator=(EditorManagerServer
const&);
51 EditorManagerServer(EditorManagerServer
const&);
52 EditorManagerServer();
57 virtual ~EditorManagerServer() =
default;
59 virtual bool isClientSide()
const ;
61 virtual ::std::unique_ptr<::Editor::IEditorPlayer> createPlayer(
::Player& player) ;
69 virtual ::EventResult onLevelTick(
::Level&) ;
71 virtual ::Scripting::Result_deprecated<void> scriptingTeardown() ;
73 virtual ::Scripting::Result_deprecated<void> scriptingRebuild() ;
75 virtual bool isEditorModeOrInEditorWorld()
const ;
77 virtual ::std::unique_ptr<::FileArchiver::IWorldConverter> createWorldConverter(
80 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository>
const& resourcePackRepository,
81 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> keyProvider
90 bool isEditorModeEnabled,
91 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager> fileManager,
92 ::std::unique_ptr<::Editor::EditorInitParams> editorInitParams
105 bool isEditorModeEnabled,
106 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager> fileManager,
107 ::std::unique_ptr<::Editor::EditorInitParams> editorInitParams
135 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository>
const& resourcePackRepository,
136 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> keyProvider
Definition FilePathManager.h:18
MCAPI void _dispatchToServerPlayers(::Editor::Network::INetworkPayload &payload)
MCAPI ::Scripting::Result_deprecated< void > $scriptingTeardown()
MCAPI ::std::unique_ptr<::Editor::IEditorPlayer > $createPlayer(::Player &player)
MCAPI::EventResult $onStartLeaveGame(::ServerInstance &instance)
MCAPI bool $isClientSide() const
MCAPI void * $ctor(::ServerInstance &server, bool isEditorModeEnabled, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > fileManager, ::std::unique_ptr<::Editor::EditorInitParams > editorInitParams)
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 EditorManagerServer(::ServerInstance &server, bool isEditorModeEnabled, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > fileManager, ::std::unique_ptr<::Editor::EditorInitParams > editorInitParams)
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:16
Definition INetworkPayload.h:7
Definition EventListenerDispatcher.h:6
Definition IContentKeyProvider.h:13
Definition ILevelListCache.h:27
Definition IResourcePackRepository.h:34
Definition Scheduler.h:14
Definition GenericModuleBindingFactory.h:20
Definition ServerInstanceEventListener.h:17
Definition ServerInstance.h:63
Definition EditorInitParams.h:7
Definition ScriptingWorldInitializeEvent.h:12