LeviLamina
Loading...
Searching...
No Matches
EditorJigsawServiceProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/JigsawJsonType.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
12class WeakEntityRef;
13namespace Bedrock::PubSub { class Subscription; }
14namespace Editor::ScriptModule { class ScriptClipboardItem; }
15namespace Editor::Services { struct EditorJigsawSection; }
16namespace Editor::Services { struct EditorRegistryFile; }
17// clang-format on
18
19namespace Editor::Services {
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 0
26 virtual ~EditorJigsawServiceProvider() = default;
27
28 // vIndex: 1
29 virtual ::std::string getJigsawExportDirectory() = 0;
30
31 // vIndex: 2
32 virtual ::std::map<::Editor::Services::JigsawJsonType, ::std::string> getEmptyJigsawFiles() = 0;
33
34 // vIndex: 3
35 virtual ::std::vector<::std::string> getJigsawRegistryList() = 0;
36
37 // vIndex: 4
38 virtual ::JigsawStructureRegistry* getJigsawRegistry(::std::string const&) = 0;
39
40 // vIndex: 5
41 virtual void setJigsawRegistry(
42 ::std::string const&,
43 ::std::map<::Editor::Services::JigsawJsonType, ::std::vector<::Editor::Services::EditorRegistryFile>>,
44 bool
45 ) = 0;
46
47 // vIndex: 6
48 virtual ::std::map<::Editor::Services::JigsawJsonType, ::std::vector<::Editor::Services::EditorRegistryFile>>
49 getJigsawRegistryJson(::std::string const&) = 0;
50
51 // vIndex: 7
52 virtual void generateJigsawPreview(
53 ::std::string const&,
54 ::std::string const&,
55 ::std::string const&,
56 ::BlockPos const&,
57 int,
58 int const,
59 bool const,
62 ) = 0;
63
64 // vIndex: 8
65 virtual ::Bedrock::PubSub::Subscription
66 listenForSetJigsawRegistry(::std::function<void(::std::vector<::std::string>)>) = 0;
67
68 // vIndex: 9
69 virtual ::Bedrock::PubSub::Subscription listenForGenerateJigsawPreview(
70 ::std::function<void(::std::vector<::Editor::Services::EditorJigsawSection>)>
71 ) = 0;
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77
78 // NOLINTEND
79};
80
81} // namespace Editor::Services
Definition BlockPos.h:17
Definition ScriptClipboardItem.h:25
Definition EditorJigsawServiceProvider.h:21
Definition JigsawStructureRegistry.h:22
Definition WeakEntityRef.h:14