LeviLamina
Loading...
Searching...
No Matches
HorseContainerManagerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/controllers/ContainerManagerController.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
12struct SelectedSlotInfo;
13struct SlotData;
14// clang-format on
15
16class HorseContainerManagerController : public ::ContainerManagerController {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::HorseContainerManagerModel>> mHorseContainerManagerModel;
21 ::ll::TypedStorage<1, 1, bool> mIsEquipTabOpen;
22 // NOLINTEND
23
24#ifdef LL_PLAT_S
25#else // LL_PLAT_C
26public:
27 // prevent constructor by default
28 HorseContainerManagerController();
29
30#endif
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~HorseContainerManagerController() /*override*/ = default;
35
36#ifdef LL_PLAT_S
37 virtual void handlePlaceAll(::SelectedSlotInfo const&, ::SlotData const&) /*override*/;
38#else // LL_PLAT_C
39 virtual void handlePlaceAll(::SelectedSlotInfo const& selected, ::SlotData const& dstSlot) /*override*/;
40#endif
41
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47#ifdef LL_PLAT_C
48 MCNAPI explicit HorseContainerManagerController(::std::weak_ptr<::HorseContainerManagerModel> ptrModel);
49
50 MCNAPI bool canWearArmor() const;
51
52 MCNAPI bool canWearCarpet() const;
53
54 MCNAPI bool canWearSaddle() const;
55
56 MCNAPI int getChestInventorySize() const;
57
58 MCNAPI ::Actor* getEntity() const;
59
60 MCNAPI void getEquipGridSize(int& outDimX, int& outDimY) const;
61
62 MCNAPI void getInventoryGridSize(int& outDimX, int& outDimY) const;
63#endif
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCNAPI void* $ctor(::std::weak_ptr<::HorseContainerManagerModel> ptrModel);
71#endif
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77#ifdef LL_PLAT_C
78 MCNAPI void $handlePlaceAll(::SelectedSlotInfo const& selected, ::SlotData const& dstSlot);
79#endif
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition Actor.h:125
static MCAPI void ** $vftable()
Definition HorseContainerManagerModel.h:18
Definition SelectedSlotInfo.h:10
Definition SlotData.h:10