LeviLamina
Loading...
Searching...
No Matches
ComplexAliasDescriptor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7#include "mc/world/item/ItemDescriptor.h"
8
9// auto generated forward declare list
10// clang-format off
11class BinaryStream;
12class CompoundTag;
13class Item;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ::std::unique_ptr<::ItemDescriptor::BaseDescriptor> clone() const /*override*/;
36
37 // vIndex: 1
38 virtual bool sameItems(::ItemDescriptor::BaseDescriptor const& otherDescriptor, bool compareAux) const /*override*/;
39
40 // vIndex: 2
41 virtual bool sameItem(::ItemDescriptor::ItemEntry const& otherItem, bool) const /*override*/;
42
43 // vIndex: 6
44 virtual bool forEachItemUntil(::std::function<bool(::Item const&, short)> func) const /*override*/;
45
46 // vIndex: 3
47 virtual ::std::string const& getFullName() const /*override*/;
48
49 // vIndex: 5
50 virtual ::ItemDescriptor::ItemEntry getItem() const /*override*/;
51
52 // vIndex: 7
53 virtual ::std::map<::std::string, ::std::string> toMap() const /*override*/;
54
55 // vIndex: 8
56 virtual ::std::optional<::CompoundTag> save() const /*override*/;
57
58 // vIndex: 9
59 virtual void serialize(::BinaryStream& stream) const /*override*/;
60
61 // vIndex: 11
62 virtual ::ItemDescriptor::InternalType getType() const /*override*/;
63
64 // vIndex: 13
65 virtual uint64 getHash() const /*override*/;
66
67 // vIndex: 16
68 virtual ~ComplexAliasDescriptor() /*override*/ = default;
69 // NOLINTEND
70
71public:
72 // member functions
73 // NOLINTBEGIN
74 MCAPI explicit ComplexAliasDescriptor(::std::string const& fullName);
75 // NOLINTEND
76
77public:
78 // static functions
79 // NOLINTBEGIN
80 MCAPI static ::Bedrock::Result<::std::unique_ptr<::ComplexAliasDescriptor>>
81 deserialize(::ReadOnlyBinaryStream& stream);
82 // NOLINTEND
83
84public:
85 // constructor thunks
86 // NOLINTBEGIN
87 MCAPI void* $ctor(::std::string const& fullName);
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCAPI ::std::unique_ptr<::ItemDescriptor::BaseDescriptor> $clone() const;
100
101 MCAPI bool $sameItems(::ItemDescriptor::BaseDescriptor const& otherDescriptor, bool compareAux) const;
102
103 MCAPI bool $sameItem(::ItemDescriptor::ItemEntry const& otherItem, bool) const;
104
105 MCAPI bool $forEachItemUntil(::std::function<bool(::Item const&, short)> func) const;
106
107 MCFOLD ::std::string const& $getFullName() const;
108
109 MCAPI ::ItemDescriptor::ItemEntry $getItem() const;
110
111 MCAPI ::std::map<::std::string, ::std::string> $toMap() const;
112
113 MCAPI ::std::optional<::CompoundTag> $save() const;
114
115 MCAPI void $serialize(::BinaryStream& stream) const;
116
117 MCFOLD ::ItemDescriptor::InternalType $getType() const;
118
119 MCFOLD uint64 $getHash() const;
120 // NOLINTEND
121
122public:
123 // vftables
124 // NOLINTBEGIN
125 MCAPI static void** $vftable();
126 // NOLINTEND
127};
Definition BinaryStream.h:10
Definition CompoundTag.h:13
Definition Item.h:65
Definition ReadOnlyBinaryStream.h:8
Definition ComplexAliasDescriptor.h:17
Definition ItemDescriptor.h:55
Definition ItemDescriptor.h:31
Definition Alias.h:14
Definition serialize.h:11