Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI JigsawEditorData(::JigsawEditorData const&);
36
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 MCNAPI void load(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
48
49#ifdef LL_PLAT_S
50 MCNAPI ::JigsawEditorData& operator=(::JigsawEditorData&&);
51#endif
52
53 MCNAPI ::JigsawEditorData& operator=(::JigsawEditorData const&);
54
55 MCNAPI void save(::CompoundTag& tag) const;
56
58 // NOLINTEND
59
60public:
61 // static variables
62 // NOLINTBEGIN
63 MCNAPI static ::std::unordered_map<int, ::std::string> const& JOINT_TYPE_TO_NAME();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void* $ctor(::JigsawEditorData const&);
70
71 MCNAPI void* $ctor(
72 ::std::string const& name,
73 ::std::string const& target,
74 ::std::string const& targetPool,
75 ::std::string const& finalBlockName,
76 ::SharedTypes::JigsawJointType jointType,
77 int placement,
78 int selection
79 );
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCNAPI void $dtor();
86 // NOLINTEND
87};
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
MCAPI::JigsawEditorData & operator=(::JigsawEditorData const &)
MCAPI ~JigsawEditorData()
MCAPI JigsawEditorData(::std::string const &name, ::std::string const &target, ::std::string const &targetPool, ::std::string const &finalBlockName, ::SharedTypes::JigsawJointType jointType, int placement, int selection)
MCAPI void save(::CompoundTag &tag) const
MCAPI void * $ctor(::JigsawEditorData const &)
static MCAPI ::std::unordered_map< int, ::std::string > const & JOINT_TYPE_TO_NAME()
MCAPI void * $ctor(::std::string const &name, ::std::string const &target, ::std::string const &targetPool, ::std::string const &finalBlockName, ::SharedTypes::JigsawJointType jointType, int placement, int selection)
MCAPI void $dtor()
MCAPI JigsawEditorData(::JigsawEditorData const &)
MCAPI void load(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)