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