LeviLamina
Loading...
Searching...
No Matches
StorageItemContainerModel.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;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ~StorageItemContainerModel() /*override*/ = default;
38
39 // vIndex: 2
40 virtual void postInit() /*override*/;
41
42 // vIndex: 0
43 virtual void containerContentChanged(int slot) /*override*/;
44
45 // vIndex: 14
46 virtual bool isValid() /*override*/;
47
48 // vIndex: 7
49 virtual ::ContainerWeakRef getContainerWeakRef() const /*override*/;
50
51 // vIndex: 22
52 virtual int _getContainerOffset() const /*override*/;
53
54 // vIndex: 24
55 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
56
57 // vIndex: 21
58 virtual ::Container* _getContainer() const /*override*/;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
65 ::FullContainerName const& name,
66 ::std::shared_ptr<::Container> container,
67 bool isClientSide,
68 ::StorageItemComponent* storageItemComponent,
69 ::StorageWeightLimitItemComponent* storageWeightLimitItemComponent
70 );
71
72 MCAPI void _refreshSlot(int modelSlot);
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI void* $ctor(
79 ::FullContainerName const& name,
80 ::std::shared_ptr<::Container> container,
81 bool isClientSide,
82 ::StorageItemComponent* storageItemComponent,
83 ::StorageWeightLimitItemComponent* storageWeightLimitItemComponent
84 );
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCAPI void $postInit();
97
98 MCAPI void $containerContentChanged(int slot);
99
100 MCFOLD bool $isValid();
101
102 MCAPI ::ContainerWeakRef $getContainerWeakRef() const;
103
104 MCFOLD int $_getContainerOffset() const;
105
106 MCFOLD void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
107
108 MCAPI ::Container* $_getContainer() const;
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCAPI static void** $vftable();
115 // NOLINTEND
116};
Definition ContainerModel.h:22
Definition ContainerWeakRef.h:5
Definition Container.h:30
Definition ItemStack.h:25
Definition StorageItemComponent.h:25
Definition StorageItemContainerModel.h:18
Definition StorageWeightLimitItemComponent.h:16
Definition FullContainerName.h:8
Definition Alias.h:14