LeviLamina
Loading...
Searching...
No Matches
JigsawEditorData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/world/level/levelgen/structure/JigsawJointType.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class DataLoadHelper;
12// clang-format on
13
14class JigsawEditorData {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 32, ::std::string> mName;
19 ::ll::TypedStorage<8, 32, ::std::string> mTarget;
20 ::ll::TypedStorage<8, 32, ::std::string> mTargetPool;
21 ::ll::TypedStorage<8, 32, ::std::string> mFinalBlock;
22 ::ll::TypedStorage<1, 1, ::SharedTypes::JigsawJointType> mJointType;
23 ::ll::TypedStorage<4, 4, int> mPlacementPriority;
24 ::ll::TypedStorage<4, 4, int> mSelectionPriority;
25 ::ll::TypedStorage<1, 1, bool> mJointTypeVisible;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI JigsawEditorData();
32
33 MCAPI JigsawEditorData(::JigsawEditorData const&);
34
35 MCAPI JigsawEditorData(
36 ::std::string const& name,
37 ::std::string const& target,
38 ::std::string const& targetPool,
39 ::std::string const& finalBlockName,
40 ::SharedTypes::JigsawJointType jointType,
41 int placement,
42 int selection
43 );
44
45 MCFOLD ::std::string const& getFinalBlock() const;
46
47 MCFOLD ::SharedTypes::JigsawJointType const& getJointType() const;
48
49 MCFOLD bool getJointTypeVisible() const;
50
51 MCFOLD ::std::string const& getName() const;
52
53 MCFOLD int getPlacementPriority() const;
54
55 MCFOLD int getSelectionPriority() const;
56
57 MCFOLD ::std::string const& getTarget() const;
58
59 MCFOLD ::std::string const& getTargetPool() const;
60
61 MCAPI void load(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
62
63 MCFOLD ::JigsawEditorData& operator=(::JigsawEditorData&&);
64
65 MCFOLD ::JigsawEditorData& operator=(::JigsawEditorData const&);
66
67 MCAPI void save(::CompoundTag& tag) const;
68
69 MCFOLD void setFinalBlock(::std::string const& finalBlock);
70
71 MCFOLD void setJointType(::SharedTypes::JigsawJointType const& jointType);
72
73 MCAPI void setJointTypeFromName(::std::string const& name);
74
75 MCAPI void setJointTypeVisible(bool visible);
76
77 MCFOLD void setName(::std::string const& name);
78
79#ifdef LL_PLAT_C
80 MCFOLD void setPlacementPriority(int priority);
81
82 MCFOLD void setSelectionPriority(int priority);
83#endif
84
85 MCFOLD void setTarget(::std::string const& target);
86
87 MCAPI void setTargetPool(::std::string const& targetPool);
88
89 MCAPI ~JigsawEditorData();
90 // NOLINTEND
91
92public:
93 // static variables
94 // NOLINTBEGIN
95 MCAPI static ::std::unordered_map<int, ::std::string> const& JOINT_TYPE_TO_NAME();
96 // NOLINTEND
97
98public:
99 // constructor thunks
100 // NOLINTBEGIN
101 MCAPI void* $ctor();
102
103 MCFOLD void* $ctor(::JigsawEditorData const&);
104
105 MCAPI void* $ctor(
106 ::std::string const& name,
107 ::std::string const& target,
108 ::std::string const& targetPool,
109 ::std::string const& finalBlockName,
110 ::SharedTypes::JigsawJointType jointType,
111 int placement,
112 int selection
113 );
114 // NOLINTEND
115
116public:
117 // destructor thunk
118 // NOLINTBEGIN
119 MCFOLD void $dtor();
120 // NOLINTEND
121};
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20