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
32
35 ::std::array<::std::variant<::Editor::SimpleBlockPaletteItem, ::Editor::ProbabilityBlockPaletteItem>, 9> items,
36 ::std::optional<::std::string> displayName
37 );
38
39 MCNAPI ::Editor::EditorBlockPalette& operator=(::Editor::EditorBlockPalette&&);
40
41 MCNAPI ::Editor::EditorBlockPalette& operator=(::Editor::EditorBlockPalette const&);
42
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
50
51 MCNAPI static ::Editor::EditorBlockPalette createDefault();
52 // NOLINTEND
53
54public:
55 // static variables
56 // NOLINTBEGIN
57 MCNAPI static ::std::add_lvalue_reference_t<char const[]> DEFAULT_DISPLAY_NAME();
58
59 MCNAPI static ::std::add_lvalue_reference_t<char const[]> DEFAULT_ID();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCNAPI_C void* $ctor(::Editor::EditorBlockPalette&&);
66
67 MCNAPI void* $ctor(::Editor::EditorBlockPalette const&);
68
69 MCNAPI void* $ctor(
71 ::std::array<::std::variant<::Editor::SimpleBlockPaletteItem, ::Editor::ProbabilityBlockPaletteItem>, 9> items,
72 ::std::optional<::std::string> displayName
73 );
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCNAPI void $dtor();
80 // NOLINTEND
81};
82
83} // 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