3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/scripting/runtime/Result_deprecated.h"
7#include "mc/editor/services/IEditorService.h"
8#include "mc/editor/services/PayloadStoreHelper.h"
9#include "mc/server/editor/serviceproviders/ServerRestartServiceProvider.h"
10#include "mc/world/events/EventListenerDispatcher.h"
11#include "mc/world/events/EventResult.h"
12#include "mc/world/events/LevelEventListener.h"
21namespace Editor::Services {
29 enum class State :
int {
45 ServerRestartService& operator=(ServerRestartService
const&);
46 ServerRestartService(ServerRestartService
const&);
47 ServerRestartService();
54 virtual ~ServerRestartService() ;
56 virtual ::Scripting::Result_deprecated<void> init() ;
58 virtual ::Scripting::Result_deprecated<void> quit() ;
60 virtual ::std::string_view getServiceName()
const ;
62 virtual void requestReloadScriptsAndFunctions() ;
95 MCNAPI ::Scripting::Result_deprecated<void>
$init();
97 MCNAPI ::Scripting::Result_deprecated<void>
$quit();
Definition RestartServiceRequestRestartPayload.h:11
Definition ServiceProviderCollection.h:7
Definition IEditorService.h:11
Definition PayloadStoreHelper.h:7
Definition ServerRestartServiceProvider.h:7
static MCAPI void ** $vftableForEventListenerDispatcher()
static MCAPI void ** $vftableForServerRestartServiceProvider()
MCAPI ServerRestartService(::Editor::ServiceProviderCollection &providers)
MCAPI ::Scripting::Result_deprecated< void > $quit()
MCAPI::std::string_view $getServiceName() const
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void * $ctor(::Editor::ServiceProviderCollection &providers)
static MCAPI void ** $vftableForIEditorService()
MCAPI void _onRestartServiceRequestRestartPayload(::Editor::Network::RestartServiceRequestRestartPayload const &payload)
MCAPI void $requestReloadScriptsAndFunctions()
MCAPI::EventResult $onEvent(::ScriptingWorldInitializeEvent const &scriptingInitializedEvent)
MCAPI bool _validateRequest()
Definition EventListenerDispatcher.h:6
Definition ScriptingWorldInitializeEvent.h:16