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/core/file/PathBuffer.h"
7#include "mc/deps/core/string/BasicStackString.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/scripting/runtime/Result_deprecated.h"
10#include "mc/editor/EditorServerExportProjectServiceProvider.h"
11#include "mc/editor/ProjectExportStatus.h"
12#include "mc/editor/WorldType.h"
13#include "mc/editor/services/IEditorService.h"
14#include "mc/editor/services/export/ExportResult.h"
15#include "mc/server/editor/serviceproviders/EditorPlayerExportProjectServiceProvider.h"
16
17// auto generated forward declare list
18// clang-format off
19class WeakEntityRef;
20namespace Core { class FilePathManager; }
21namespace Editor { class GameOptions; }
22namespace Editor { class ServiceProviderCollection; }
23// clang-format on
24
25namespace Editor::Services {
26
30public:
31 // member variables
32 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 0
48 virtual ~EditorExportProjectManagerService() /*override*/;
49
50 // vIndex: 1
51 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
52
53 // vIndex: 3
54 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
55
56 // vIndex: 4
57 virtual ::std::string_view getServiceName() const /*override*/;
58
59 // vIndex: 1
60 virtual void beginExportProject(
61 ::WeakEntityRef playerRef,
62 ::Editor::GameOptions const& gameOptions,
63 ::Editor::WorldType const editorWorldType,
64 ::std::function<void(::Editor::ExportResult const&, ::std::string)> callback
65 ) /*override*/;
66
67 // vIndex: 2
68 virtual bool canExportProject() /*override*/;
69
70 // vIndex: 3
71 virtual ::Editor::ProjectExportStatus getExportStatus() /*override*/;
72
73 // vIndex: 1
74 virtual void addPreTaskFilePathCallBack(
75 ::std::function<::std::function<void(::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const&)>()>
76 preTaskFilePathCallback
77 ) /*override*/;
78 // NOLINTEND
79
80public:
81 // member functions
82 // NOLINTBEGIN
85 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager> fileManager,
86 ::Editor::ProjectExportStatus exportStatus
87 );
88
89 MCNAPI void _onExportError(
90 ::std::function<void(::Editor::ExportResult const&, ::std::string)> callback,
91 ::std::string message,
92 ::Editor::ExportResult result
93 );
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCNAPI void* $ctor(
101 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager> fileManager,
102 ::Editor::ProjectExportStatus exportStatus
103 );
104 // NOLINTEND
105
106public:
107 // destructor thunk
108 // NOLINTBEGIN
109 MCNAPI void $dtor();
110 // NOLINTEND
111
112public:
113 // virtual function thunks
114 // NOLINTBEGIN
115 MCNAPI ::Scripting::Result_deprecated<void> $init();
116
117 MCNAPI ::Scripting::Result_deprecated<void> $quit();
118
119 MCNAPI ::std::string_view $getServiceName() const;
120
122 ::WeakEntityRef playerRef,
123 ::Editor::GameOptions const& gameOptions,
124 ::Editor::WorldType const editorWorldType,
125 ::std::function<void(::Editor::ExportResult const&, ::std::string)> callback
126 );
127
128 MCNAPI bool $canExportProject();
129
130 MCNAPI ::Editor::ProjectExportStatus $getExportStatus();
131
133 ::std::function<::std::function<void(::Core::PathBuffer<::Core::BasicStackString<char, 1024>> const&)>()>
134 preTaskFilePathCallback
135 );
136 // NOLINTEND
137
138public:
139 // vftables
140 // NOLINTBEGIN
141 MCNAPI static void** $vftableForIEditorService();
142
144
146 // NOLINTEND
147};
148
149} // namespace Editor::Services
Definition BasicStackString.h:8
Definition PathBuffer.h:8
Definition GameOptions.h:15
Definition ServiceProviderCollection.h:7
Definition EditorExportProjectManagerService.h:29
MCAPI void $addPreTaskFilePathCallBack(::std::function<::std::function< void(::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > const &)>()> preTaskFilePathCallback)
MCAPI EditorExportProjectManagerService(::Editor::ServiceProviderCollection &providers, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > fileManager, ::Editor::ProjectExportStatus exportStatus)
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void * $ctor(::Editor::ServiceProviderCollection &providers, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > fileManager, ::Editor::ProjectExportStatus exportStatus)
MCAPI void _onExportError(::std::function< void(::Editor::ExportResult const &, ::std::string)> callback, ::std::string message, ::Editor::ExportResult result)
MCAPI::Editor::ProjectExportStatus $getExportStatus()
MCAPI::std::string_view $getServiceName() const
MCAPI ::Scripting::Result_deprecated< void > $quit()
static MCAPI void ** $vftableForEditorServerExportProjectServiceProvider()
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 EditorServerExportProjectServiceProvider.h:11
Definition IEditorService.h:11
Definition WeakEntityRef.h:14
Definition Alias.h:14