LeviLamina
Loading...
Searching...
No Matches
RecordItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/item/components/ComponentItem.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12class Item;
13class ItemDescriptor;
14class ItemStackBase;
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
20public:
21 // prevent constructor by default
22 RecordItem();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 87
28 virtual ::std::string
29 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
30
31 // vIndex: 107
32 virtual ::Item& setIconInfo(::std::string const& name, int index) /*override*/;
33
34 // vIndex: 108
35 virtual ::ResolvedItemIconInfo
36 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
37
38 // vIndex: 3
39 virtual ::RecordItem& setDescriptionId(::std::string const& description) /*override*/;
40
41 // vIndex: 0
42 virtual ~RecordItem() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI RecordItem(
49 ::std::string const& name,
50 int id,
52 ::SharedTypes::Legacy::LevelSoundEvent soundEvent
53 );
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(
60 ::std::string const& name,
61 int id,
63 ::SharedTypes::Legacy::LevelSoundEvent soundEvent
64 );
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI ::std::string
71 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
72
73 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
74
75 MCFOLD ::ResolvedItemIconInfo
76 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
77
78 MCFOLD ::RecordItem& $setDescriptionId(::std::string const& description);
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition Item.h:65
Definition RecordItem.h:19
static MCAPI void ** $vftable()
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5