LeviLamina
Loading...
Searching...
No Matches
CrafterContainerManagerModel.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/item/ItemInstance.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
14class ItemStack;
15class Player;
16// clang-format on
17
18class CrafterContainerManagerModel : public ::LevelContainerManagerModel {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 128, ::ItemInstance> mLastCachedResultItem;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 CrafterContainerManagerModel();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~CrafterContainerManagerModel() /*override*/ = default;
33
34 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
35
36 virtual ::ContainerScreenContext _postInit() /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI CrafterContainerManagerModel(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
43
44#ifdef LL_PLAT_C
45 MCAPI ::ItemInstance getLastCraftableItem() const;
46#endif
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
59
60 MCAPI ::ContainerScreenContext $_postInit();
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCAPI static void** $vftable();
69 // NOLINTEND
70};
Definition BlockPos.h:21
Definition ContainerScreenContext.h:19
Definition ItemStack.h:35
Definition Player.h:137