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