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 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 MCNAPI explicit ComplexAliasDescriptor(::std::string const& fullName);
75 // NOLINTEND
76
77public:
78 // static functions
79 // NOLINTBEGIN
80 MCNAPI static ::Bedrock::Result<::std::unique_ptr<::ComplexAliasDescriptor>>
82 // NOLINTEND
83
84public:
85 // constructor thunks
86 // NOLINTBEGIN
87 MCNAPI void* $ctor(::std::string const& fullName);
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCNAPI ::std::unique_ptr<::ItemDescriptor::BaseDescriptor> $clone() const;
94
95 MCNAPI bool $sameItems(::ItemDescriptor::BaseDescriptor const& otherDescriptor, bool compareAux) const;
96
97 MCNAPI bool $sameItem(::ItemDescriptor::ItemEntry const& otherItem, bool) const;
98
99 MCNAPI bool $forEachItemUntil(::std::function<bool(::Item const&, short)> func) const;
100
101 MCNAPI ::std::string $getFullName() const;
102
103 MCNAPI ::ItemDescriptor::ItemEntry $getItem() const;
104
105 MCNAPI ::std::map<::std::string, ::std::string> $toMap() const;
106
107 MCNAPI ::std::optional<::CompoundTag> $save() const;
108
109 MCNAPI void $serialize(::BinaryStream& stream) const;
110
111 MCNAPI ::ItemDescriptor::InternalType $getType() const;
112
113 MCNAPI uint64 $getHash() const;
114 // NOLINTEND
115
116public:
117 // vftables
118 // NOLINTBEGIN
119 MCNAPI static void** $vftable();
120 // NOLINTEND
121};
Definition BinaryStream.h:10
Definition CompoundTag.h:13
Definition Item.h:65
Definition ReadOnlyBinaryStream.h:8
Definition ComplexAliasDescriptor.h:17
MCAPI ::std::map<::std::string, ::std::string > $toMap() const
static MCAPI void ** $vftable()
MCAPI::std::string $getFullName() const
MCAPI bool $sameItem(::ItemDescriptor::ItemEntry const &otherItem, bool) const
MCAPI uint64 $getHash() const
MCAPI::ItemDescriptor::InternalType $getType() const
MCAPI::ItemDescriptor::ItemEntry $getItem() const
MCAPI void $serialize(::BinaryStream &stream) const
MCAPI ::std::unique_ptr<::ItemDescriptor::BaseDescriptor > $clone() const
MCAPI bool $forEachItemUntil(::std::function< bool(::Item const &, short)> func) const
static MCAPI ::Bedrock::Result<::std::unique_ptr<::ComplexAliasDescriptor > > deserialize(::ReadOnlyBinaryStream &stream)
MCAPI void * $ctor(::std::string const &fullName)
MCAPI bool $sameItems(::ItemDescriptor::BaseDescriptor const &otherDescriptor, bool compareAux) const
MCAPI ::std::optional<::CompoundTag > $save() const
MCAPI ComplexAliasDescriptor(::std::string const &fullName)
Definition ItemDescriptor.h:55
Definition ItemDescriptor.h:31
Definition Alias.h:14
Definition serialize.h:11