Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StructureEditorData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/safety/RedactableString.h"
7#include "mc/world/level/block/StructureBlockType.h"
8#include "mc/world/level/levelgen/structure/StructureRedstoneSaveMode.h"
9#include "mc/world/level/levelgen/structure/StructureSettings.h"
10
11// auto generated forward declare list
12// clang-format off
13class CompoundTag;
14class DataLoadHelper;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mStructureName;
22 ::ll::TypedStorage<8, 32, ::std::string> mDataField;
23 ::ll::TypedStorage<1, 1, bool> mIncludePlayers;
24 ::ll::TypedStorage<1, 1, bool> mShowBoundingBox;
25 ::ll::TypedStorage<1, 1, ::StructureRedstoneSaveMode> mRedstoneSaveMode;
26 ::ll::TypedStorage<4, 4, ::StructureBlockType> mType;
27 ::ll::TypedStorage<8, 104, ::StructureSettings> mSettings;
28 // NOLINTEND
29
30#ifdef LL_PLAT_S
31public:
32 // prevent constructor by default
35
36#else // LL_PLAT_C
37public:
38 // prevent constructor by default
40
41#endif
42public:
43 // member functions
44 // NOLINTBEGIN
45#ifdef LL_PLAT_C
46 MCNAPI StructureEditorData();
47#endif
48
50
52
53 MCNAPI void load(::CompoundTag const& base, ::DataLoadHelper& dataLoadHelper);
54
55 MCNAPI ::StructureEditorData& operator=(::StructureEditorData&&);
56
57 MCNAPI bool operator==(::StructureEditorData const& rhs) const;
58
59 MCNAPI void save(::CompoundTag& tag) const;
60
61 MCNAPI void setFilteredStructureName(::std::string const& filteredName);
62
64 // NOLINTEND
65
66public:
67 // static variables
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCNAPI static ::std::string const& DEFAULT_EXPORT_NAME();
71#endif
72
73 MCNAPI static ::std::string const& DEFAULT_STRUCTURE_NAMESPACE();
74
75 MCNAPI static ::std::string const& NAME_PREFIX();
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81#ifdef LL_PLAT_C
82 MCNAPI void* $ctor();
83#endif
84
86
87 MCNAPI void* $ctor(::StructureEditorData const&);
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93 MCNAPI void $dtor();
94 // NOLINTEND
95};
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
static MCAPI ::std::string const & NAME_PREFIX()
static MCAPI ::std::string const & DEFAULT_STRUCTURE_NAMESPACE()
MCAPI StructureEditorData(::StructureEditorData &&)
MCAPI void setFilteredStructureName(::std::string const &filteredName)
MCAPI::StructureEditorData & operator=(::StructureEditorData &&)
MCAPI void * $ctor(::StructureEditorData &&)
MCAPI void $dtor()
MCAPI StructureEditorData(::StructureEditorData const &)
MCAPI ~StructureEditorData()
MCAPI void * $ctor(::StructureEditorData const &)
MCAPI bool operator==(::StructureEditorData const &rhs) const
MCAPI void save(::CompoundTag &tag) const
MCAPI void load(::CompoundTag const &base, ::DataLoadHelper &dataLoadHelper)