LeviLamina
Loading...
Searching...
No Matches
EditorExportProjectManagerService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/WorldType.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/editor/services/IEditorService.h"
9#include "mc/editor/services/export/ExportResult.h"
10#include "mc/server/editor/serviceproviders/EditorPlayerExportProjectServiceProvider.h"
11
12// auto generated forward declare list
13// clang-format off
14class WeakEntityRef;
15namespace Editor { class GameOptions; }
16// clang-format on
17
18namespace Editor::Services {
19
22public:
23 // member variables
24 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~EditorExportProjectManagerService() /*override*/ = default;
39
40 // vIndex: 1
41 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
42
43 // vIndex: 3
44 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
45
46 // vIndex: 4
47 virtual ::std::string_view getServiceName() const /*override*/;
48
49 // vIndex: 1
50 virtual void beginExportProject(
51 ::WeakEntityRef playerRef,
52 ::Editor::GameOptions const& gameOptions,
53 ::Editor::WorldType const editorWorldType,
54 ::std::function<void(::Editor::ExportResult const&)> callback
55 ) /*override*/;
56
57 // vIndex: 2
58 virtual bool canExportProject() /*override*/;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI ::Scripting::Result_deprecated<void> $init();
65
66 MCNAPI ::Scripting::Result_deprecated<void> $quit();
67
68 MCNAPI ::std::string_view $getServiceName() const;
69
71 ::WeakEntityRef playerRef,
72 ::Editor::GameOptions const& gameOptions,
73 ::Editor::WorldType const editorWorldType,
74 ::std::function<void(::Editor::ExportResult const&)> callback
75 );
76
77 MCNAPI bool $canExportProject();
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftableForIEditorService();
84
86 // NOLINTEND
87};
88
89} // namespace Editor::Services
Definition GameOptions.h:15
Definition EditorExportProjectManagerService.h:21
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void $beginExportProject(::WeakEntityRef playerRef, ::Editor::GameOptions const &gameOptions, ::Editor::WorldType const editorWorldType, ::std::function< void(::Editor::ExportResult const &)> callback)
MCAPI::std::string_view $getServiceName() const
MCAPI ::Scripting::Result_deprecated< void > $quit()
static MCAPI void ** $vftableForEditorPlayerExportProjectServiceProvider()
Definition EditorPlayerExportProjectServiceProvider.h:17
Definition IEditorService.h:11
Definition WeakEntityRef.h:14
Definition Alias.h:14