3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/common/editor/ProjectExportStatus.h"
7#include "mc/common/editor/WorldType.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/editor/services/IEditorService.h"
10#include "mc/editor/services/export/ExportResult.h"
11#include "mc/server/editor/serviceproviders/EditorPlayerExportProjectServiceProvider.h"
16namespace Editor {
class GameOptions; }
19namespace Editor::Services {
43 virtual ::Scripting::Result_deprecated<void> init() ;
46 virtual ::Scripting::Result_deprecated<void> quit() ;
49 virtual ::std::string_view getServiceName()
const ;
52 virtual void beginExportProject(
55 ::Editor::WorldType
const editorWorldType,
56 ::std::function<
void(::Editor::ExportResult
const&, ::std::string)> callback
60 virtual bool canExportProject() ;
63 virtual ::Editor::ProjectExportStatus getExportStatus() ;
70 ::std::function<
void(::Editor::ExportResult
const&, ::std::string)> callback,
71 ::std::string message,
72 ::Editor::ExportResult result
79 MCNAPI ::Scripting::Result_deprecated<void>
$init();
81 MCNAPI ::Scripting::Result_deprecated<void>
$quit();
88 ::Editor::WorldType
const editorWorldType,
89 ::std::function<
void(::Editor::ExportResult
const&, ::std::string)> callback
Definition GameOptions.h:15
Definition EditorExportProjectManagerService.h:22
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void _onExportError(::std::function< void(::Editor::ExportResult const &, ::std::string)> callback, ::std::string message, ::Editor::ExportResult result)
static MCAPI void ** $vftableForIEditorService()
MCAPI::Editor::ProjectExportStatus $getExportStatus()
MCAPI::std::string_view $getServiceName() const
MCAPI bool $canExportProject()
MCAPI ::Scripting::Result_deprecated< void > $quit()
static MCAPI void ** $vftableForEditorPlayerExportProjectServiceProvider()
MCAPI void $beginExportProject(::WeakEntityRef playerRef, ::Editor::GameOptions const &gameOptions, ::Editor::WorldType const editorWorldType, ::std::function< void(::Editor::ExportResult const &, ::std::string)> callback)
Definition EditorPlayerExportProjectServiceProvider.h:18
Definition IEditorService.h:11
Definition WeakEntityRef.h:14