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