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 // prevent constructor by default
30 JigsawEditorData();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI JigsawEditorData(::JigsawEditorData const&);
36
37 MCAPI JigsawEditorData(
38 ::std::string const& name,
39 ::std::string const& target,
40 ::std::string const& targetPool,
41 ::std::string const& finalBlockName,
42 ::SharedTypes::JigsawJointType jointType,
43 int placement,
44 int selection
45 );
46
47 MCAPI void load(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
48
49 MCAPI ::JigsawEditorData& operator=(::JigsawEditorData const&);
50
51 MCAPI void save(::CompoundTag& tag) const;
52
53 MCAPI ~JigsawEditorData();
54 // NOLINTEND
55
56public:
57 // static variables
58 // NOLINTBEGIN
59 MCAPI static ::std::unordered_map<int, ::std::string> const& JOINT_TYPE_TO_NAME();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::JigsawEditorData const&);
66
67 MCAPI void* $ctor(
68 ::std::string const& name,
69 ::std::string const& target,
70 ::std::string const& targetPool,
71 ::std::string const& finalBlockName,
72 ::SharedTypes::JigsawJointType jointType,
73 int placement,
74 int selection
75 );
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCFOLD void $dtor();
82 // NOLINTEND
83};
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20