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& repairItem, ::ItemStackBase const&, ::BaseGameVersion const&) const
35 /*override*/;
36
37 virtual ::ResolvedItemIconInfo
38 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
39
40 virtual int getAnimationFrameFor(::Mob* item, bool, ::ItemStack const*, bool) const /*override*/;
41
42 virtual void appendFormattedHovertext(
43 ::ItemStackBase const& item,
44 ::Level& level,
46 bool const showCategory
47 ) const /*override*/;
48
49 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
50
51 virtual bool isBodyArmor() const /*override*/;
52
53 virtual int getArmorValue() const /*override*/;
54
55 virtual ::SharedTypes::Legacy::LevelSoundEvent getBreakSound() const /*override*/;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI WolfArmorItem(::std::string const& nameId, short id, ::cereal::ReflectionCtx& ctx);
62 // NOLINTEND
63
64public:
65 // static variables
66 // NOLINTBEGIN
67 MCAPI static ::std::vector<::SharedTypes::Legacy::ActorDamageCause> const& ABSORBABLE_DAMAGE_CAUSES();
68
69 MCAPI static ::std::vector<::DurabilityThreshold> const& DURABILITY_THRESHOLDS();
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(::std::string const& nameId, short id, ::cereal::ReflectionCtx& ctx);
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool
82 $isValidRepairItem(::ItemStackBase const& repairItem, ::ItemStackBase const&, ::BaseGameVersion const&) const;
83
84 MCAPI ::ResolvedItemIconInfo
85 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
86
87 MCAPI int $getAnimationFrameFor(::Mob* item, bool, ::ItemStack const*, 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:13
Definition RedactableString.h:10
Definition CompoundTag.h:23
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Level.h:254
Definition Mob.h:56
Definition DurabilityThreshold.h:9
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5