LeviLamina
Loading...
Searching...
No Matches
RangedWeaponItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Item.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class ItemStack;
12class Mob;
13class Player;
14// clang-format on
15
16class RangedWeaponItem : public ::Item {
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 80
21 virtual void releaseUsing(::ItemStack& item, ::Player* player, int durationLeft) const /*override*/;
22
23 // vIndex: 76
24 virtual ::ItemStack& use(::ItemStack& instance, ::Player& player) const /*override*/;
25
26 // vIndex: 110
27 virtual int
28 getAnimationFrameFor(::Mob* holder, bool asItemEntity, ::ItemStack const* item, bool shouldAnimate) const
29 /*override*/;
30
31 // vIndex: 55
32 virtual int getEnchantValue() const /*override*/;
33
34 // vIndex: 82
35 virtual void hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const /*override*/;
36
37 // vIndex: 0
38 virtual ~RangedWeaponItem() /*override*/;
39 // NOLINTEND
40
41public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCFOLD void $dtor();
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI void $releaseUsing(::ItemStack& item, ::Player* player, int durationLeft) const;
51
52 MCAPI ::ItemStack& $use(::ItemStack& instance, ::Player& player) const;
53
54 MCAPI int
55 $getAnimationFrameFor(::Mob* holder, bool asItemEntity, ::ItemStack const* item, bool shouldAnimate) const;
56
57 MCFOLD int $getEnchantValue() const;
58
59 MCFOLD void $hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const;
60 // NOLINTEND
61};
Definition Actor.h:104
Definition ItemStack.h:25
Definition Item.h:65
Definition Mob.h:47
Definition Player.h:119
Definition RangedWeaponItem.h:16