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