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