LeviLamina
Loading...
Searching...
No Matches
BowItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/RangedWeaponItem.h"
7#include "mc/world/item/ResolvedItemIconInfo.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Item;
13class ItemStackBase;
14// clang-format on
15
16class BowItem : public ::RangedWeaponItem {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 192, ::ResolvedItemIconInfo[3]> mFrame;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 BowItem();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
31
32 virtual ::ResolvedItemIconInfo
33 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
34
35 virtual int getEnchantSlot() const /*override*/;
36
37 virtual void enchantProjectile(::ItemStackBase const& weapon, ::Actor& projectile) const /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI BowItem(::std::string const& name, int id);
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(::std::string const& name, int id);
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI ::Item& $setIconInfo(::std::string const& name, int id);
56
57 MCFOLD ::ResolvedItemIconInfo
58 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
59
60 MCFOLD int $getEnchantSlot() const;
61
62 MCAPI void $enchantProjectile(::ItemStackBase const& weapon, ::Actor& projectile) const;
63
64
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCAPI static void** $vftable();
71 // NOLINTEND
72};
Definition Actor.h:125
Definition ItemStackBase.h:52
Definition Item.h:71
static MCAPI void ** $vftable()