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/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 ArmorContainerModel : 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 ArmorContainerModel& operator=(ArmorContainerModel const&);
27 ArmorContainerModel(ArmorContainerModel const&);
28 ArmorContainerModel();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~ArmorContainerModel() /*override*/ = default;
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 ::Container* _getContainer() const /*override*/;
46
47 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI_C void* $ctor(::ContainerEnumName containerName, int containerSize, ::Player& player);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65#ifdef LL_PLAT_C
66 MCNAPI void $postInit();
67
68 MCNAPI void $releaseResources();
69
70 MCNAPI void $containerContentChanged(int slot);
71
72 MCNAPI bool $isValid();
73
74 MCNAPI ::ContainerWeakRef $getContainerWeakRef() const;
75
76 MCNAPI ::Container* $_getContainer() const;
77
78 MCNAPI void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
79#endif
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
static MCAPI void ** $vftable()
Definition ContainerWeakRef.h:20
Definition Container.h:33
Definition ItemStack.h:26
Definition Player.h:125