LeviLamina
Loading...
Searching...
No Matches
BrewingStandContainerManagerController.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
11class ItemInstance;
12struct SlotData;
13// clang-format on
14
15class BrewingStandContainerManagerController : public ::ContainerManagerController {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::BrewingStandContainerManagerModel>> mBrewingContainerManagerModel;
20 // NOLINTEND
21
22#ifdef LL_PLAT_S
23#else // LL_PLAT_C
24public:
25 // prevent constructor by default
26 BrewingStandContainerManagerController();
27
28#endif
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~BrewingStandContainerManagerController() /*override*/ = default;
33
34#ifdef LL_PLAT_S
35 virtual void _onItemAcquired(::ItemInstance const&, ::SlotData const&) /*override*/;
36#else // LL_PLAT_C
37 virtual void _onItemAcquired(::ItemInstance const& instance, ::SlotData const& srcSlot) /*override*/;
38#endif
39
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45#ifdef LL_PLAT_C
46 MCNAPI explicit BrewingStandContainerManagerController(
47 ::std::weak_ptr<::BrewingStandContainerManagerModel> containerManagerModel
48 );
49
50 MCNAPI void _calculateValidPotionBrewed(::ItemInstance const& itemInstance);
51
52 MCNAPI int getBrewProgress(int max);
53
54 MCNAPI int getBubbleProgress(int max);
55
56 MCNAPI int getFuelProgress(int max);
57
58 MCNAPI bool isFinished(int& outputId, int& outputAuxValue, int outputSlot);
59#endif
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65#ifdef LL_PLAT_C
66 MCNAPI void* $ctor(::std::weak_ptr<::BrewingStandContainerManagerModel> containerManagerModel);
67#endif
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73#ifdef LL_PLAT_C
74 MCNAPI void $_onItemAcquired(::ItemInstance const& instance, ::SlotData const& srcSlot);
75#endif
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition BrewingStandContainerManagerModel.h:19
Definition ItemInstance.h:15
Definition SlotData.h:10