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
25class WolfArmorItem : public ::ComponentItem {
26public:
27 // prevent constructor by default
28 WolfArmorItem();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool
34 isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const
35 /*override*/;
36
37 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) const /*override*/;
38
39 virtual int getAnimationFrameFor(::Mob*, bool, ::ItemStack const* item, bool) const /*override*/;
40
41 virtual void appendFormattedHovertext(
42 ::ItemStackBase const& item,
43 ::Level& level,
45 bool const showCategory
46 ) const /*override*/;
47
48 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
49
50 virtual bool isBodyArmor() const /*override*/;
51
52 virtual int getArmorValue() const /*override*/;
53
54 virtual ::SharedTypes::Legacy::LevelSoundEvent getBreakSound() const /*override*/;
55
56 virtual ~WolfArmorItem() /*override*/ = default;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62 MCAPI WolfArmorItem(::std::string const& nameId, short id, ::cereal::ReflectionCtx& ctx);
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static ::std::vector<::SharedTypes::Legacy::ActorDamageCause> const& ABSORBABLE_DAMAGE_CAUSES();
69
70 MCAPI static ::std::vector<::DurabilityThreshold> const& DURABILITY_THRESHOLDS();
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor(::std::string const& nameId, short id, ::cereal::ReflectionCtx& ctx);
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI bool
83 $isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const;
84
85 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
86
87 MCAPI int $getAnimationFrameFor(::Mob*, bool, ::ItemStack const* item, bool) const;
88
89 MCAPI void $appendFormattedHovertext(
90 ::ItemStackBase const& item,
91 ::Level& level,
93 bool const showCategory
94 ) const;
95
96 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
97
98 MCFOLD bool $isBodyArmor() const;
99
100 MCFOLD int $getArmorValue() const;
101
102 MCFOLD ::SharedTypes::Legacy::LevelSoundEvent $getBreakSound() const;
103
104
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCAPI static void** $vftable();
111 // NOLINTEND
112};
Definition BaseGameVersion.h:8
Definition RedactableString.h:10
static MCAPI void ** $vftable()
Definition CompoundTag.h:23
Definition ItemDescriptor.h:23
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Level.h:249
Definition Mob.h:50
Definition DurabilityThreshold.h:9
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5