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