Skip to content
LeviMC
English
AutoLightDark
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/world/item/ItemDescriptor.h"
7
8// auto generated forward declare list
9// clang-format off
10class BinaryStream;
11class CompoundTag;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 16, ::ItemDescriptor::ItemEntry> mItemEntry;
19 // NOLINTEND
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ::std::unique_ptr<::ItemDescriptor::BaseDescriptor> clone() const /*override*/;
25
26 virtual bool sameItem(::ItemDescriptor::ItemEntry const& otherItem, bool compareAux) const /*override*/;
27
28 virtual ::std::string getFullName() const /*override*/;
29
30 virtual ::std::string getNameAndAux() 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 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI ::std::unique_ptr<::ItemDescriptor::BaseDescriptor> $clone() const;
49
50 MCNAPI bool $sameItem(::ItemDescriptor::ItemEntry const& otherItem, bool compareAux) const;
51
52 MCNAPI ::std::string $getFullName() const;
53
54 MCNAPI ::std::string $getNameAndAux() const;
55
56 MCNAPI ::ItemDescriptor::ItemEntry $getItem() const;
57
58 MCNAPI ::std::map<::std::string, ::std::string> $toMap() const;
59
60 MCNAPI ::std::optional<::CompoundTag> $save() const;
61
62 MCNAPI void $serialize(::BinaryStream& stream) const;
63
64 MCNAPI ::ItemDescriptor::InternalType $getType() const;
65
66 MCNAPI uint64 $getHash() const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BinaryStream.h:10
Definition CompoundTag.h:18
Definition InternalItemDescriptor.h:14
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::string $getFullName() const
static MCAPI void ** $vftable()
MCAPI ::std::optional<::CompoundTag > $save() const
MCAPI::ItemDescriptor::InternalType $getType() const
MCAPI::ItemDescriptor::ItemEntry $getItem() const
MCAPI::std::string $getNameAndAux() const
MCAPI void $serialize(::BinaryStream &stream) const
Definition ItemDescriptor.h:51
Definition ItemDescriptor.h:42