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
11class ContainerModel;
13class ItemStack;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContainerModel>> mPaymentContainerModel;
21 ::ll::TypedStorage<4, 4, int> mPrimaryEffectPreviousId;
22 ::ll::TypedStorage<4, 4, int> mSecondaryEffectPreviousId;
23 ::ll::TypedStorage<4, 4, int> mSelectedPrimaryEffectId;
24 ::ll::TypedStorage<4, 4, int> mSelectedSecondaryEffectId;
25 ::ll::TypedStorage<1, 1, bool> mEffectSelectionsChanged;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~BeaconContainerManagerModel() /*override*/ = default;
32
33 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
34
35 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
36
37 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
38
39 virtual ::ContainerScreenContext _postInit() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI_C void _sendBeaconPaymentPacket(::BeaconBlockActor& beacon);
46
47 MCAPI_C void confirmTransaction(bool isPaymentConfirmed);
48
49 MCAPI_C ::std::string getEffectHoverName(int iSlot, bool bSecondaryEffect);
50
51 MCAPI_C void selectEffect(int iSlot, bool bSecondaryEffect);
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
58
59 MCAPI ::ItemStack const& $getSlot(int slot) const;
60
61 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
62
63 MCAPI ::ContainerScreenContext $_postInit();
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCAPI static void** $vftable();
72 // NOLINTEND
73};
Definition BeaconBlockActor.h:28
Definition BeaconContainerManagerModel.h:16
Definition ContainerModel.h:27
Definition ContainerScreenContext.h:17
static MCAPI void ** $vftable()
Definition ItemStack.h:26
Definition LevelContainerManagerModel.h:18