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