Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ElementConstructorContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/models/ContainerManagerModel.h"
7#include "mc/world/level/BlockPos.h"
8
9// auto generated forward declare list
10// clang-format off
12class ItemStack;
13// clang-format on
14
15class ElementConstructorContainerManagerModel : public ::ContainerManagerModel {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
26
27 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
28
29 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
30
31 virtual void setData(int id, int value) /*override*/;
32
33 virtual bool isValid(float pickRange) /*override*/;
34
35 virtual void broadcastChanges() /*override*/;
36
37 virtual ::ContainerScreenContext _postInit() /*override*/;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
44
45 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
46
47 MCNAPI ::ItemStack const& $getSlot(int slot) const;
48
49 MCNAPI void $setData(int id, int value);
50
51 MCNAPI bool $isValid(float pickRange);
52
53 MCNAPI void $broadcastChanges();
54
55 MCNAPI ::ContainerScreenContext $_postInit();
56
57
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition ContainerScreenContext.h:16
Definition ElementConstructorContainerManagerModel.h:15
MCAPI void $setData(int id, int value)
MCAPI::ItemStack const & $getSlot(int slot) const
MCAPI::ContainerScreenContext $_postInit()
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI bool $isValid(float pickRange)
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool fromNetwork)
Definition ItemStack.h:26