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
17class AbstractCompassItem : public ::Item {
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 virtual ::ResolvedItemIconInfo
34 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
35
36 virtual int getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const /*override*/;
37
38 virtual int getEnchantSlot() const /*override*/;
39
40 virtual ~AbstractCompassItem() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCAPI ::ResolvedItemIconInfo
47 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
48
49 MCAPI int $getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const;
50
51 MCAPI int $getEnchantSlot() const;
52
53
54 // NOLINTEND
55};
Definition AbstractCompassItem.h:17
Definition CompassSpriteCalculator.h:12
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Mob.h:50
Definition ResolvedItemIconInfo.h:8