LeviLamina
Loading...
Searching...
No Matches
EditorBlockPalette.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class HashedString;
8namespace Editor { struct ProbabilityBlockPaletteItem; }
9namespace Editor { struct SimpleBlockPaletteItem; }
10namespace cereal { struct ReflectionCtx; }
11// clang-format on
12
13namespace Editor {
14
15struct EditorBlockPalette {
16public:
17 // member variables
18 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 EditorBlockPalette();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31#ifdef LL_PLAT_C
32 MCNAPI EditorBlockPalette(::Editor::EditorBlockPalette&&);
33#endif
34
36
39 ::std::array<::std::variant<::Editor::SimpleBlockPaletteItem, ::Editor::ProbabilityBlockPaletteItem>, 9> items,
40 ::std::optional<::std::string> displayName
41 );
42
43 MCNAPI ::Editor::EditorBlockPalette& operator=(::Editor::EditorBlockPalette&&);
44
45 MCNAPI ::Editor::EditorBlockPalette& operator=(::Editor::EditorBlockPalette const&);
46
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
54
55 MCNAPI static ::Editor::EditorBlockPalette createDefault();
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCNAPI static ::std::add_lvalue_reference_t<char const[]> DEFAULT_DISPLAY_NAME();
62
63 MCNAPI static ::std::add_lvalue_reference_t<char const[]> DEFAULT_ID();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCNAPI void* $ctor(::Editor::EditorBlockPalette&&);
71#endif
72
73 MCNAPI void* $ctor(::Editor::EditorBlockPalette const&);
74
75 MCNAPI void* $ctor(
77 ::std::array<::std::variant<::Editor::SimpleBlockPaletteItem, ::Editor::ProbabilityBlockPaletteItem>, 9> items,
78 ::std::optional<::std::string> displayName
79 );
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCNAPI void $dtor();
86 // NOLINTEND
87};
88
89} // namespace Editor
Definition HashedString.h:5
Definition EditorBlockPalette.h:15
MCAPI EditorBlockPalette(::HashedString id, ::std::array<::std::variant<::Editor::SimpleBlockPaletteItem, ::Editor::ProbabilityBlockPaletteItem >, 9 > items, ::std::optional<::std::string > displayName)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI ::std::add_lvalue_reference_t< char const[]> DEFAULT_DISPLAY_NAME()
MCAPI::Editor::EditorBlockPalette & operator=(::Editor::EditorBlockPalette &&)
MCAPI::Editor::EditorBlockPalette & operator=(::Editor::EditorBlockPalette const &)
MCAPI void * $ctor(::Editor::EditorBlockPalette const &)
static MCAPI ::Editor::EditorBlockPalette createDefault()
MCAPI EditorBlockPalette(::Editor::EditorBlockPalette const &)
MCAPI void * $ctor(::HashedString id, ::std::array<::std::variant<::Editor::SimpleBlockPaletteItem, ::Editor::ProbabilityBlockPaletteItem >, 9 > items, ::std::optional<::std::string > displayName)
static MCAPI ::std::add_lvalue_reference_t< char const[]> DEFAULT_ID()
Definition ProbabilityBlockPaletteItem.h:7
Definition SimpleBlockPaletteItem.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14