LeviLamina
Loading...
Searching...
No Matches
InventoryContainerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/models/ContainerModel.h"
7
8// auto generated forward declare list
9// clang-format off
10class Container;
12class ItemStack;
13class Player;
14// clang-format on
15
16class InventoryContainerModel : public ::ContainerModel {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 InventoryContainerModel& operator=(InventoryContainerModel const&);
26 InventoryContainerModel(InventoryContainerModel const&);
27 InventoryContainerModel();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~InventoryContainerModel() /*override*/ = default;
33
34 virtual void postInit() /*override*/;
35
36 virtual void releaseResources() /*override*/;
37
38 virtual void containerContentChanged(int slot) /*override*/;
39
40 virtual bool isValid() /*override*/;
41
42 virtual ::ContainerWeakRef getContainerWeakRef() const /*override*/;
43
44 virtual int _getContainerOffset() const /*override*/;
45
46 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
47
48 virtual ::Container* _getContainer() const /*override*/;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $postInit();
55
56 MCAPI void $releaseResources();
57
58 MCAPI void $containerContentChanged(int slot);
59
60 MCFOLD bool $isValid();
61
62#ifdef LL_PLAT_S
63 MCAPI ::ContainerWeakRef $getContainerWeakRef() const;
64#else // LL_PLAT_C
65 MCFOLD ::ContainerWeakRef $getContainerWeakRef() const;
66#endif
67
68 MCAPI int $_getContainerOffset() const;
69
70 MCAPI void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
71
72#ifdef LL_PLAT_S
73 MCAPI ::Container* $_getContainer() const;
74#else // LL_PLAT_C
75 MCFOLD ::Container* $_getContainer() const;
76#endif
77
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCAPI static void** $vftable();
85 // NOLINTEND
86};
Definition ContainerWeakRef.h:17
Definition Container.h:35
Definition ItemStack.h:26
Definition Player.h:129