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/ContainerID.h"
7#include "mc/world/containers/managers/models/ContainerManagerModel.h"
8#include "mc/world/level/BlockPos.h"
9
10// auto generated forward declare list
11// clang-format off
13class ItemStack;
14class Player;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 7
32 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
33
34 // vIndex: 8
35 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
36
37 // vIndex: 9
38 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
39
40 // vIndex: 10
41 virtual void setData(int id, int value) /*override*/;
42
43 // vIndex: 19
44 virtual bool isValid(float pickRange) /*override*/;
45
46 // vIndex: 13
47 virtual void broadcastChanges() /*override*/;
48
49 // vIndex: 20
50 virtual ::ContainerScreenContext _postInit() /*override*/;
51
52 // vIndex: 0
53 virtual ~ElementConstructorContainerManagerModel() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI
60 ElementConstructorContainerManagerModel(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCNAPI void* $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
73
74 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
75
76 MCNAPI ::ItemStack const& $getSlot(int slot) const;
77
78 MCNAPI void $setData(int id, int value);
79
80 MCNAPI bool $isValid(float pickRange);
81
82 MCNAPI void $broadcastChanges();
83
84 MCNAPI ::ContainerScreenContext $_postInit();
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockPos.h:18
Definition ContainerManagerModel.h:29
Definition ContainerScreenContext.h:17
Definition ElementConstructorContainerManagerModel.h:17
MCAPI void $setData(int id, int value)
MCAPI::ItemStack const & $getSlot(int slot) const
MCAPI void * $ctor(::ContainerID containerId, ::Player &player, ::BlockPos const &blockPos)
MCAPI::ContainerScreenContext $_postInit()
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI bool $isValid(float pickRange)
MCAPI ElementConstructorContainerManagerModel(::ContainerID containerId, ::Player &player, ::BlockPos const &blockPos)
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool fromNetwork)
Definition ItemStack.h:25
Definition Player.h:119