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