LeviLamina
Loading...
Searching...
No Matches
AbstractCompassItem.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
11class ItemStack;
12class ItemStackBase;
13class Mob;
15// clang-format on
16
18public:
19 // AbstractCompassItem inner types define
20 using GetSpriteCalculatorFunction = ::CompassSpriteCalculator (*)(::Mob&);
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mAtlasWidth;
26 ::ll::TypedStorage<4, 4, int> mAtlasHeight;
27 ::ll::TypedStorage<8, 8, ::CompassSpriteCalculator (*)(::Mob&)> mGetSpriteCalculator;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 108
34 virtual ::ResolvedItemIconInfo
35 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
36
37 // vIndex: 110
38 virtual int getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const /*override*/;
39
40 // vIndex: 54
41 virtual int getEnchantSlot() const /*override*/;
42
43 // vIndex: 0
44 virtual ~AbstractCompassItem() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::ResolvedItemIconInfo
57 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
58
59 MCAPI int $getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const;
60
61 MCAPI int $getEnchantSlot() const;
62 // NOLINTEND
63};
Definition AbstractCompassItem.h:17
Definition CompassSpriteCalculator.h:12
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Mob.h:47
Definition ResolvedItemIconInfo.h:8