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/ContainerEnumName.h"
7#include "mc/world/containers/models/ContainerModel.h"
8
9// auto generated forward declare list
10// clang-format off
11class Container;
13class ItemStack;
14class Player;
15// clang-format on
16
17class InventoryContainerModel : public ::ContainerModel {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 InventoryContainerModel& operator=(InventoryContainerModel const&);
27 InventoryContainerModel(InventoryContainerModel const&);
28 InventoryContainerModel();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~InventoryContainerModel() /*override*/;
34
35 virtual void postInit() /*override*/;
36
37 virtual void releaseResources() /*override*/;
38
39 virtual void containerContentChanged(int slot) /*override*/;
40
41 virtual bool isValid() /*override*/;
42
43 virtual ::ContainerWeakRef getContainerWeakRef() const /*override*/;
44
45 virtual int _getContainerOffset() const /*override*/;
46
47 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
48
49 virtual ::Container* _getContainer() const /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI InventoryContainerModel(::ContainerEnumName containerName, int size, ::Player& player);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::ContainerEnumName containerName, int size, ::Player& player);
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCAPI void $dtor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI void $postInit();
74
75 MCAPI void $releaseResources();
76
77 MCAPI void $containerContentChanged(int slot);
78
79 MCFOLD bool $isValid();
80
81 MCFOLD ::ContainerWeakRef $getContainerWeakRef() const;
82
83 MCAPI int $_getContainerOffset() const;
84
85 MCAPI void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
86
87 MCFOLD ::Container* $_getContainer() const;
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCAPI static void** $vftable();
96 // NOLINTEND
97};
Definition ContainerWeakRef.h:20
Definition Container.h:34
Definition ItemStack.h:35
Definition Player.h:137