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 virtual void preSetItem(::Container* container, int slot, bool isEmptyItem, ::ItemStack* item) /*override*/;
34
35 virtual bool postSetItem(::Container* container, ::ItemStack& item) /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41#ifdef LL_PLAT_C
42 MCNAPI void $preSetItem(::Container* container, int slot, bool isEmptyItem, ::ItemStack* item);
43
44 MCNAPI bool $postSetItem(::Container* container, ::ItemStack& item);
45#endif
46
47
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55};
Definition Container.h:33
Definition ISparseContainerSetListener.h:11
Definition ItemStackNetManagerClient.h:38
Definition ItemStack.h:26
static MCAPI void ** $vftable()