LeviLamina
Loading...
Searching...
No Matches
Editor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11namespace Editor { class LogMessage; }
12namespace Editor { struct EditorBlockPalette; }
13namespace Editor { struct EditorStructureDBMetadata; }
14namespace Editor { struct EditorStructureMetadataEditParams; }
15namespace Editor { struct LocalizationEntry; }
16namespace Editor { struct LogContent; }
17namespace Editor { struct Cone; }
18namespace Editor { struct Cube; }
19namespace Editor { struct Cylinder; }
20namespace Editor { struct Vertex; }
21// clang-format on
22
23namespace Editor {
24// functions
25// NOLINTBEGIN
26MCNAPI ::std::unordered_set<uint64> _getFilteredBlockSet();
27
28#ifdef LL_PLAT_C
29MCNAPI ::Bedrock::Result<::CompoundTag> compoundTagFromString(::std::string_view data);
30#endif
31
32MCNAPI ::Bedrock::Result<::std::string> compoundTagToString(::CompoundTag const& tag);
33
34#ifdef LL_PLAT_C
35MCNAPI ::std::string getLocalizedString(::std::variant<::std::string, ::Editor::LocalizationEntry> const& locale);
36
37MCNAPI void
38makeCone(::Editor::Cone const& cone, ::std::vector<::Editor::Vertex>& r_vertices, ::std::vector<ushort>& r_indices);
39
40MCNAPI void
41makeCube(::Editor::Cube const& cube, ::std::vector<::Editor::Vertex>& r_vertices, ::std::vector<ushort>& r_indices);
42
43MCNAPI void makeHollowCylinder(
44 ::Editor::Cylinder const& cylinder,
45 ::std::vector<::Editor::Vertex>& r_vertices,
46 ::std::vector<ushort>& r_indices
47);
48#endif
49
50MCNAPI bool operator==(::Editor::EditorBlockPalette const& __P0, ::Editor::EditorBlockPalette const& __P1);
51
52MCNAPI bool
53operator==(::Editor::EditorStructureDBMetadata const& __P0, ::Editor::EditorStructureDBMetadata const& __P1);
54
55MCNAPI bool operator==(
56 ::Editor::EditorStructureMetadataEditParams const& __P0,
57 ::Editor::EditorStructureMetadataEditParams const& __P1
58);
59
60MCNAPI bool operator==(::Editor::LogContent const& __P0, ::Editor::LogContent const& __P1);
61
62MCNAPI bool operator==(::Editor::LogMessage const& __P0, ::Editor::LogMessage const& __P1);
63// NOLINTEND
64
65// static variables
66// NOLINTBEGIN
67MCNAPI ::std::string_view const& EDITOR_PACK_CAPABILITY();
68// NOLINTEND
69
70} // namespace Editor
Definition CompoundTag.h:23
Definition LogMessage.h:12
Definition Cone.h:7
Definition Cube.h:7
Definition Cylinder.h:7
Definition EditorBlockPalette.h:15
Definition EditorStructureDBMetadata.h:15
Definition EditorStructureMetadataEditParams.h:12
Definition LocalizationEntry.h:7
Definition LogContent.h:7
Definition Vertex.h:7