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