LeviLamina
Loading...
Searching...
No Matches
SparseContainerSetListenerClient.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/inventory/network/ISparseContainerSetListener.h"
7
8// auto generated forward declare list
9// clang-format off
10class Container;
11class ItemStack;
13// clang-format on
14
15class SparseContainerSetListenerClient : public ::ISparseContainerSetListener {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::ItemStackNetManagerClient&> mItemStackNetManager;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 SparseContainerSetListenerClient& operator=(SparseContainerSetListenerClient const&);
25 SparseContainerSetListenerClient(SparseContainerSetListenerClient const&);
26 SparseContainerSetListenerClient();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~SparseContainerSetListenerClient() /*override*/ = default;
32
33#ifdef LL_PLAT_S
34 virtual void preSetItem(::Container*, int, bool, ::ItemStack*) /*override*/;
35#else // LL_PLAT_C
36 virtual void preSetItem(::Container* container, int slot, bool isEmptyItem, ::ItemStack* item) /*override*/;
37#endif
38
39#ifdef LL_PLAT_S
40 virtual bool postSetItem(::Container*, ::ItemStack&) /*override*/;
41#else // LL_PLAT_C
42 virtual bool postSetItem(::Container* container, ::ItemStack& item) /*override*/;
43#endif
44
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50#ifdef LL_PLAT_C
51 MCNAPI explicit SparseContainerSetListenerClient(::ItemStackNetManagerClient& itemStackNetManager);
52#endif
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58#ifdef LL_PLAT_C
59 MCNAPI void* $ctor(::ItemStackNetManagerClient& itemStackNetManager);
60#endif
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66#ifdef LL_PLAT_C
67 MCNAPI void $preSetItem(::Container* container, int slot, bool isEmptyItem, ::ItemStack* item);
68
69 MCNAPI bool $postSetItem(::Container* container, ::ItemStack& item);
70#endif
71
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition Container.h:34
Definition ISparseContainerSetListener.h:11
Definition ItemStackNetManagerClient.h:43
Definition ItemStack.h:35
static MCAPI void ** $vftable()