LeviLamina
Loading...
Searching...
No Matches
ClientScratchContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/SimpleContainer.h"
7
8// auto generated forward declare list
9// clang-format off
10class Container;
11class ItemStack;
12// clang-format on
13
14class ClientScratchContainer : public ::SimpleContainer {
15#ifdef LL_PLAT_S
16#else // LL_PLAT_C
17public:
18 // prevent constructor by default
19 ClientScratchContainer();
20
21#endif
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual void setItem(int slot, ::ItemStack const& item) /*override*/;
26
27 virtual void serverInitItemStackIds(
28 int containerSlot,
29 int count,
30 ::std::function<void(int, ::ItemStack const&)> onNetIdChanged
31 ) /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI explicit ClientScratchContainer(::Container const& backingContainer);
39#endif
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45#ifdef LL_PLAT_C
46 MCNAPI void* $ctor(::Container const& backingContainer);
47#endif
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53#ifdef LL_PLAT_C
54 MCNAPI void $setItem(int slot, ::ItemStack const& item);
55
56 MCNAPI void $serverInitItemStackIds(
57 int containerSlot,
58 int count,
59 ::std::function<void(int, ::ItemStack const&)> onNetIdChanged
60 );
61#endif
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
static MCAPI void ** $vftable()
Definition Container.h:34
Definition ItemStack.h:35