LeviLamina
Loading...
Searching...
No Matches
ServerEditorPlayerPackExportService.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/ServerEditorPlayerPackExportServiceProvider.h"
7#include "mc/deps/core/resource/PackType.h"
8#include "mc/deps/script_core/runtime/scripting/Result_deprecated.h"
9#include "mc/editor/services/IEditorService.h"
10#include "mc/editor/services/PayloadStoreHelper.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace Editor { struct PackExportFileEntry; }
15namespace Editor::Network { class PackExportWriteFilesPayload; }
16// clang-format on
17
18namespace Editor::Services {
19
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ~ServerEditorPlayerPackExportService() /*override*/ = default;
27
28 virtual ::Scripting::Result_deprecated<void> init() /*override*/;
29
30 virtual ::Scripting::Result_deprecated<void> quit() /*override*/;
31
32 virtual ::std::string_view getServiceName() const /*override*/;
33
34 virtual void writePackFiles(
35 ::PackType packType,
36 ::std::string const& packName,
37 ::std::vector<::Editor::PackExportFileEntry> const& filesToWrite,
38 ::std::function<void(bool, ::std::string const&, ::std::optional<::std::string>)> callback
39 ) /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCNAPI static ::std::string_view const& ServiceName();
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCNAPI ::Scripting::Result_deprecated<void> $init();
58
59 MCNAPI ::Scripting::Result_deprecated<void> $quit();
60
61 MCNAPI ::std::string_view $getServiceName() const;
62
63 MCNAPI void $writePackFiles(
64 ::PackType packType,
65 ::std::string const& packName,
66 ::std::vector<::Editor::PackExportFileEntry> const& filesToWrite,
67 ::std::function<void(bool, ::std::string const&, ::std::optional<::std::string>)> callback
68 );
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftableForIEditorService();
77
79 // NOLINTEND
80};
81
82} // namespace Editor::Services
Definition PackExportWriteFilesPayload.h:16
Definition ServerEditorPlayerPackExportServiceProvider.h:15
Definition IEditorService.h:11
Definition PayloadStoreHelper.h:7
Definition ServerEditorPlayerPackExportService.h:22
MCAPI ::Scripting::Result_deprecated< void > $quit()
MCAPI void _onWriteFilesPayloadReceived(::Editor::Network::PackExportWriteFilesPayload const &payload)
static MCAPI void ** $vftableForServerEditorPlayerPackExportServiceProvider()
static MCAPI ::std::string_view const & ServiceName()
MCAPI::std::string_view $getServiceName() const
MCAPI ::Scripting::Result_deprecated< void > $init()
MCAPI void $writePackFiles(::PackType packType, ::std::string const &packName, ::std::vector<::Editor::PackExportFileEntry > const &filesToWrite, ::std::function< void(bool, ::std::string const &, ::std::optional<::std::string >)> callback)
Definition PackExportFileEntry.h:7