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
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual ~InventoryContainerModel() /*override*/ = default;
34
35 // vIndex: 2
36 virtual void postInit() /*override*/;
37
38 // vIndex: 3
39 virtual void releaseResources() /*override*/;
40
41 // vIndex: 0
42 virtual void containerContentChanged(int slot) /*override*/;
43
44 // vIndex: 14
45 virtual bool isValid() /*override*/;
46
47 // vIndex: 7
48 virtual ::ContainerWeakRef getContainerWeakRef() const /*override*/;
49
50 // vIndex: 22
51 virtual int _getContainerOffset() const /*override*/;
52
53 // vIndex: 24
54 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
55
56 // vIndex: 21
57 virtual ::Container* _getContainer() const /*override*/;
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI void $postInit();
64
65 MCNAPI void $releaseResources();
66
67 MCNAPI void $containerContentChanged(int slot);
68
69 MCNAPI bool $isValid();
70
71 MCNAPI ::ContainerWeakRef $getContainerWeakRef() const;
72
73 MCNAPI int $_getContainerOffset() const;
74
75 MCNAPI void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
76
77 MCNAPI ::Container* $_getContainer() const;
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition ContainerModel.h:25
Definition ContainerWeakRef.h:17
Definition Container.h:30
Definition InventoryContainerModel.h:16
MCAPI void $releaseResources()
MCAPI int $_getContainerOffset() const
MCAPI::ContainerWeakRef $getContainerWeakRef() const
MCAPI::Container * $_getContainer() const
MCAPI void $_onItemChanged(int modelSlot, ::ItemStack const &oldItem, ::ItemStack const &newItem)
static MCAPI void ** $vftable()
MCAPI void $containerContentChanged(int slot)
Definition ItemStack.h:25
Definition Player.h:119