LeviLamina
Loading...
Searching...
No Matches
SmithingTableContainerManagerModel.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: 0
32 virtual ~SmithingTableContainerManagerModel() /*override*/ = default;
33
34 // vIndex: 7
35 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
36
37 // vIndex: 8
38 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
39
40 // vIndex: 9
41 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
42
43 // vIndex: 10
44 virtual void setData(int, int) /*override*/;
45
46 // vIndex: 19
47 virtual bool isValid(float pickRange) /*override*/;
48
49 // vIndex: 13
50 virtual void broadcastChanges() /*override*/;
51
52 // vIndex: 20
53 virtual ::ContainerScreenContext _postInit() /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI SmithingTableContainerManagerModel(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCNAPI static int const& INPUT_SLOT();
66
67 MCNAPI static int const& MATERIAL_SLOT();
68
69 MCNAPI static int const& TEMPLATE_SLOT();
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCNAPI void* $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
82
83 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
84
85 MCNAPI ::ItemStack const& $getSlot(int slot) const;
86
87 MCNAPI void $setData(int, int);
88
89 MCNAPI bool $isValid(float pickRange);
90
91 MCNAPI void $broadcastChanges();
92
93 MCNAPI ::ContainerScreenContext $_postInit();
94 // NOLINTEND
95
96public:
97 // vftables
98 // NOLINTBEGIN
99 MCNAPI static void** $vftable();
100 // NOLINTEND
101};
Definition BlockPos.h:18
Definition ContainerManagerModel.h:29
Definition ContainerScreenContext.h:17
Definition ItemStack.h:25
Definition Player.h:119
Definition SmithingTableContainerManagerModel.h:17
MCAPI bool $isValid(float pickRange)
MCAPI SmithingTableContainerManagerModel(::ContainerID containerId, ::Player &player, ::BlockPos const &blockPos)
static MCAPI int const & MATERIAL_SLOT()
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool fromNetwork)
static MCAPI void ** $vftable()
static MCAPI int const & INPUT_SLOT()
static MCAPI int const & TEMPLATE_SLOT()
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