LeviLamina
Loading...
Searching...
No Matches
PlayerUIContainerModelBase.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 PlayerUIContainerModelBase : 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 PlayerUIContainerModelBase& operator=(PlayerUIContainerModelBase const&);
26 PlayerUIContainerModelBase(PlayerUIContainerModelBase const&);
27 PlayerUIContainerModelBase();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32#ifdef LL_PLAT_S
33 virtual ~PlayerUIContainerModelBase() /*override*/ = default;
34#else // LL_PLAT_C
35 virtual ~PlayerUIContainerModelBase() /*override*/;
36#endif
37
38 virtual void postInit() /*override*/;
39
40 virtual void releaseResources() /*override*/;
41
42 virtual void containerContentChanged(int slot) /*override*/;
43
44 virtual bool isValid() /*override*/;
45
46 virtual ::ContainerWeakRef getContainerWeakRef() const /*override*/;
47
48 virtual int _getContainerOffset() const /*override*/;
49
50 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
51
52 virtual ::Container* _getContainer() const /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI void _refreshContainer(bool initial);
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $postInit();
71
72 MCAPI void $releaseResources();
73
74 MCAPI void $containerContentChanged(int slot);
75
76 MCFOLD bool $isValid();
77
78 MCAPI ::ContainerWeakRef $getContainerWeakRef() const;
79
80 MCFOLD int $_getContainerOffset() const;
81
82 MCAPI void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
83
84 MCAPI ::Container* $_getContainer() const;
85
86
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCAPI static void** $vftable();
93 // NOLINTEND
94};
Definition ContainerWeakRef.h:20
Definition Container.h:33
Definition ItemStack.h:26
Definition Player.h:129