LeviLamina
Loading...
Searching...
No Matches
WolfArmorItem.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/deps/shared_types/legacy/actor/ActorDamageCause.h"
8#include "mc/world/item/components/ComponentItem.h"
9
10// auto generated forward declare list
11// clang-format off
12class BaseGameVersion;
13class CompoundTag;
14class ItemDescriptor;
15class ItemStack;
16class ItemStackBase;
17class Level;
18class Mob;
21namespace Bedrock::Safety { class RedactableString; }
22namespace cereal { struct ReflectionCtx; }
23// clang-format on
24
26public:
27 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 53
34 virtual bool
35 isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const
36 /*override*/;
37
38 // vIndex: 108
39 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) const /*override*/;
40
41 // vIndex: 110
42 virtual int getAnimationFrameFor(::Mob*, bool, ::ItemStack const* item, bool) const /*override*/;
43
44 // vIndex: 52
45 virtual void appendFormattedHovertext(
46 ::ItemStackBase const& item,
47 ::Level& level,
49 bool const showCategory
50 ) const /*override*/;
51
52 // vIndex: 87
53 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
54
55 // vIndex: 56
56 virtual int getArmorValue() const /*override*/;
57
58 // vIndex: 58
59 virtual ::SharedTypes::Legacy::LevelSoundEvent getBreakSound() const /*override*/;
60
61 // vIndex: 0
62 virtual ~WolfArmorItem() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI WolfArmorItem(::std::string const& nameId, short id, ::cereal::ReflectionCtx& ctx);
69 // NOLINTEND
70
71public:
72 // static variables
73 // NOLINTBEGIN
74 MCAPI static ::std::vector<::SharedTypes::Legacy::ActorDamageCause> const& ABSORBABLE_DAMAGE_CAUSES();
75
76 MCAPI static ::std::vector<::DurabilityThreshold> const& DURABILITY_THRESHOLDS();
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(::std::string const& nameId, short id, ::cereal::ReflectionCtx& ctx);
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCAPI bool
89 $isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const;
90
91 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
92
93 MCAPI int $getAnimationFrameFor(::Mob*, bool, ::ItemStack const* item, bool) const;
94
95 MCAPI void $appendFormattedHovertext(
96 ::ItemStackBase const& item,
97 ::Level& level,
99 bool const showCategory
100 ) const;
101
102 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
103
104 MCFOLD int $getArmorValue() const;
105
106 MCFOLD ::SharedTypes::Legacy::LevelSoundEvent $getBreakSound() const;
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCNAPI static void** $vftable();
113 // NOLINTEND
114};
Definition BaseGameVersion.h:8
Definition RedactableString.h:10
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Level.h:238
Definition Mob.h:47
Definition WolfArmorItem.h:25
static MCAPI void ** $vftable()
Definition DurabilityThreshold.h:5
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5