LeviLamina
Loading...
Searching...
No Matches
CompoundCreatorContainerManagerModel.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
17class CompoundCreatorContainerManagerModel : public ::ContainerManagerModel {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 CompoundCreatorContainerManagerModel();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
32
33 virtual void setSlot(int, ::ItemStack const&, bool) /*override*/;
34
35 virtual ::ItemStack const& getSlot(int) const /*override*/;
36
37 virtual void setData(int, int) /*override*/;
38
39 virtual bool isValid(float pickRange) /*override*/;
40
41 virtual void broadcastChanges() /*override*/;
42
43 virtual ::ContainerScreenContext _postInit() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI CompoundCreatorContainerManagerModel(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
50
51#ifdef LL_PLAT_C
52 MCAPI ::std::vector<::ItemStack> const& getInputItems();
53
54 MCAPI ::ItemStack const& getOutput();
55#endif
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
68
69 MCFOLD void $setSlot(int, ::ItemStack const&, bool);
70
71 MCFOLD ::ItemStack const& $getSlot(int) const;
72
73 MCFOLD void $setData(int, int);
74
75 MCAPI bool $isValid(float pickRange);
76
77 MCFOLD void $broadcastChanges();
78
79 MCAPI ::ContainerScreenContext $_postInit();
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BlockPos.h:21
Definition ContainerScreenContext.h:19
Definition ItemStack.h:35
Definition Player.h:137