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
17class StructureEditorData {
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
30public:
31 // prevent constructor by default
32 StructureEditorData& operator=(StructureEditorData const&);
33 StructureEditorData();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI StructureEditorData(::StructureEditorData&&);
39
40 MCAPI StructureEditorData(::StructureEditorData const&);
41
42 MCAPI void load(::CompoundTag const& base, ::DataLoadHelper& dataLoadHelper);
43
44 MCAPI ::StructureEditorData& operator=(::StructureEditorData&&);
45
46 MCAPI bool operator==(::StructureEditorData const& rhs) const;
47
48 MCAPI void save(::CompoundTag& tag) const;
49
50 MCAPI void setFilteredStructureName(::std::string const& filteredName);
51
52 MCAPI ~StructureEditorData();
53 // NOLINTEND
54
55public:
56 // static variables
57 // NOLINTBEGIN
58#ifdef LL_PLAT_C
59 MCAPI static ::std::string const& DEFAULT_EXPORT_NAME();
60#endif
61
62 MCAPI static ::std::string const& DEFAULT_STRUCTURE_NAMESPACE();
63
64 MCAPI static ::std::string const& NAME_PREFIX();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(::StructureEditorData&&);
71
72 MCAPI void* $ctor(::StructureEditorData const&);
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCAPI void $dtor();
79 // NOLINTEND
80};
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20