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