LeviLamina
Loading...
Searching...
No Matches
InternalItemDescriptor.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;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 0
33 virtual ::std::unique_ptr<::ItemDescriptor::BaseDescriptor> clone() const /*override*/;
34
35 // vIndex: 2
36 virtual bool sameItem(::ItemDescriptor::ItemEntry const& otherItem, bool compareAux) const /*override*/;
37
38 // vIndex: 3
39 virtual ::std::string getFullName() const /*override*/;
40
41 // vIndex: 5
42 virtual ::ItemDescriptor::ItemEntry getItem() const /*override*/;
43
44 // vIndex: 7
45 virtual ::std::map<::std::string, ::std::string> toMap() const /*override*/;
46
47 // vIndex: 8
48 virtual ::std::optional<::CompoundTag> save() const /*override*/;
49
50 // vIndex: 9
51 virtual void serialize(::BinaryStream& stream) const /*override*/;
52
53 // vIndex: 11
54 virtual ::ItemDescriptor::InternalType getType() const /*override*/;
55
56 // vIndex: 13
57 virtual uint64 getHash() const /*override*/;
58
59 // vIndex: 16
60 virtual ~InternalItemDescriptor() /*override*/ = default;
61 // NOLINTEND
62
63public:
64 // static functions
65 // NOLINTBEGIN
66 MCNAPI static ::Bedrock::Result<::std::unique_ptr<::InternalItemDescriptor>>
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCNAPI ::std::unique_ptr<::ItemDescriptor::BaseDescriptor> $clone() const;
74
75 MCNAPI bool $sameItem(::ItemDescriptor::ItemEntry const& otherItem, bool compareAux) const;
76
77 MCNAPI ::std::string $getFullName() const;
78
79 MCNAPI ::ItemDescriptor::ItemEntry $getItem() const;
80
81 MCNAPI ::std::map<::std::string, ::std::string> $toMap() const;
82
83 MCNAPI ::std::optional<::CompoundTag> $save() const;
84
85 MCNAPI void $serialize(::BinaryStream& stream) const;
86
87 MCNAPI ::ItemDescriptor::InternalType $getType() const;
88
89 MCNAPI uint64 $getHash() const;
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition BinaryStream.h:10
Definition CompoundTag.h:13
Definition ReadOnlyBinaryStream.h:8
Definition InternalItemDescriptor.h:16
MCAPI ::std::map<::std::string, ::std::string > $toMap() const
MCAPI uint64 $getHash() const
MCAPI bool $sameItem(::ItemDescriptor::ItemEntry const &otherItem, bool compareAux) const
MCAPI ::std::unique_ptr<::ItemDescriptor::BaseDescriptor > $clone() const
MCAPI::std::string $getFullName() const
static MCAPI void ** $vftable()
MCAPI ::std::optional<::CompoundTag > $save() const
MCAPI::ItemDescriptor::InternalType $getType() const
MCAPI::ItemDescriptor::ItemEntry $getItem() const
MCAPI void $serialize(::BinaryStream &stream) const
static MCAPI ::Bedrock::Result<::std::unique_ptr<::InternalItemDescriptor > > deserialize(::ReadOnlyBinaryStream &stream)
Definition ItemDescriptor.h:55
Definition ItemDescriptor.h:31
Definition Alias.h:14
Definition serialize.h:11