Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BeaconContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/models/LevelContainerManagerModel.h"
7
8// auto generated forward declare list
9// clang-format off
10class ContainerModel;
12class ItemStack;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContainerModel>> mPaymentContainerModel;
20 ::ll::TypedStorage<4, 4, int> mPrimaryEffectPreviousId;
21 ::ll::TypedStorage<4, 4, int> mSecondaryEffectPreviousId;
22 ::ll::TypedStorage<4, 4, int> mSelectedPrimaryEffectId;
23 ::ll::TypedStorage<4, 4, int> mSelectedSecondaryEffectId;
24 ::ll::TypedStorage<1, 1, bool> mEffectSelectionsChanged;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~BeaconContainerManagerModel() /*override*/ = default;
31
32 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
33
34 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
35
36 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
37
38 virtual ::ContainerScreenContext _postInit() /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44#ifdef LL_PLAT_C
45 MCNAPI void confirmTransaction(bool isPaymentConfirmed);
46
47 MCNAPI ::std::string getEffectHoverName(int iSlot, bool bSecondaryEffect);
48
49 MCNAPI bool isPaymentAvailable() const;
50
51 MCNAPI bool isSelected(int iSlot, bool isSecondary);
52
53 MCNAPI bool isTierAvailable(int iTier);
54
55 MCNAPI void selectEffect(int iSlot, bool bSecondaryEffect);
56#endif
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
63
64 MCNAPI ::ItemStack const& $getSlot(int slot) const;
65
66 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
67
68 MCNAPI ::ContainerScreenContext $_postInit();
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition BeaconContainerManagerModel.h:15
MCAPI::ContainerScreenContext $_postInit()
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
static MCAPI void ** $vftable()
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool fromNetwork)
MCAPI::ItemStack const & $getSlot(int slot) const
Definition ContainerModel.h:23
Definition ContainerScreenContext.h:16
Definition ItemStack.h:26
Definition LevelContainerManagerModel.h:18