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 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 87
24 virtual ::std::string
25 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
26
27 // vIndex: 107
28 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
29
30 // vIndex: 108
31 virtual ::ResolvedItemIconInfo
32 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
33
34 // vIndex: 3
35 virtual ::RecordItem& setDescriptionId(::std::string const& descriptionId) /*override*/;
36
37 // vIndex: 0
38 virtual ~RecordItem() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI RecordItem(
45 ::std::string const& name,
46 int id,
48 ::SharedTypes::Legacy::LevelSoundEvent soundEvent
49 );
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(
56 ::std::string const& name,
57 int id,
59 ::SharedTypes::Legacy::LevelSoundEvent soundEvent
60 );
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI ::std::string
73 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
74
75 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
76
77 MCFOLD ::ResolvedItemIconInfo
78 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
79
80 MCFOLD ::RecordItem& $setDescriptionId(::std::string const& descriptionId);
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition Item.h:65
Definition RecordItem.h:19
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5