Skip to content
LeviMC
English
AutoLightDark
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 { struct LocalizationEntry; }
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15namespace Editor {
16// functions
17// NOLINTBEGIN
18MCNAPI ::std::unordered_set<uint64> _getFilteredBlockSet();
19
20MCNAPI void bindHotbarCollectionSnapshotTypes(::cereal::ReflectionCtx& ctx);
21
22#ifdef LL_PLAT_C
23MCNAPI ::Bedrock::Result<::CompoundTag> compoundTagFromString(::std::string_view data);
24#endif
25
26MCNAPI ::Bedrock::Result<::std::string> compoundTagToString(::CompoundTag const& tag);
27
28#ifdef LL_PLAT_C
29MCNAPI ::std::string convertChatFormattingToEditorMarkup(::std::string_view text);
30
31MCNAPI ::std::string getLocalizedString(::std::variant<::std::string, ::Editor::LocalizationEntry> const& locale);
32#endif
33// NOLINTEND
34
35// static variables
36// NOLINTBEGIN
37MCNAPI ::std::string_view const& EDITOR_PACK_CAPABILITY();
38// NOLINTEND
39
40} // namespace Editor
Definition CompoundTag.h:18
Definition LocalizationEntry.h:12
Definition ReflectionCtx.h:11