LeviLamina
Loading...
Searching...
No Matches
ArmorContainerModel.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 ArmorContainerModel : 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 ArmorContainerModel& operator=(ArmorContainerModel const&);
26 ArmorContainerModel(ArmorContainerModel const&);
27 ArmorContainerModel();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~ArmorContainerModel() /*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 ::Container* _getContainer() const /*override*/;
45
46 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52#ifdef LL_PLAT_C
53 MCNAPI void $postInit();
54
55 MCNAPI void $releaseResources();
56
57 MCNAPI void $containerContentChanged(int slot);
58
59 MCNAPI bool $isValid();
60
61 MCNAPI ::ContainerWeakRef $getContainerWeakRef() const;
62
63 MCNAPI ::Container* $_getContainer() const;
64
65 MCNAPI void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
66#endif
67
68
69 // NOLINTEND
70};
Definition ContainerWeakRef.h:17
Definition Container.h:35
Definition ItemStack.h:26
Definition Player.h:129