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*/;
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#ifdef LL_PLAT_C
56 MCNAPI OffhandContainerModel(::ContainerEnumName containerName, int containerSize, ::Player& player);
57#endif
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63#ifdef LL_PLAT_C
64 MCNAPI void* $ctor(::ContainerEnumName containerName, int containerSize, ::Player& player);
65#endif
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCNAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77#ifdef LL_PLAT_C
78 MCNAPI void $postInit();
79
80 MCNAPI void $releaseResources();
81
82 MCNAPI void $containerContentChanged(int slot);
83
84 MCNAPI bool $isValid();
85
86 MCNAPI ::ContainerWeakRef $getContainerWeakRef() const;
87
88 MCNAPI int $_getContainerOffset() const;
89
90 MCNAPI ::Container* $_getContainer() const;
91
92 MCNAPI void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
93#endif
94
95
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
Definition ContainerWeakRef.h:20
Definition Container.h:34
Definition ItemStack.h:35
static MCAPI void ** $vftable()
Definition Player.h:137