LeviLamina
Loading...
Searching...
No Matches
CraftingContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/managers/models/ContainerManagerModel.h"
7#include "mc/world/containers/models/FilterResult.h"
8#include "mc/world/item/ItemInstance.h"
9#include "mc/world/item/crafting/RecipeIngredientSet.h"
10#include "mc/world/level/BlockPos.h"
11
12// auto generated forward declare list
13// clang-format off
14class ContainerModel;
16class ItemStack;
17// clang-format on
18
20public:
21 // CraftingContainerManagerModel inner types define
22 using FilterFunction = ::std::function<::FilterResult(::ItemInstance const&, bool)>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
28 ::ll::TypedStorage<1, 1, bool> mWorkbench;
29 ::ll::TypedStorage<1, 1, bool> mPocket;
30 ::ll::TypedStorage<1, 1, bool> mFiltering;
31 ::ll::TypedStorage<8, 32, ::std::string> mSearchString;
32 ::ll::TypedStorage<8, 32, ::std::string> mCaseFoldedSearchString;
33 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContainerModel>> mInventoryContainerModel;
34 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContainerModel>> mCraftingInputContainerModel;
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContainerModel>> mHotbarContainerModel;
36 ::ll::TypedStorage<8, 64, ::RecipeIngredientSet> mIngredientSet;
37 ::ll::TypedStorage<8, 128, ::ItemInstance> mLastCraftedItem;
38 ::ll::TypedStorage<4, 4, int> mContainerPopulationTabIndex;
39 ::ll::TypedStorage<8, 8, uint64> mContainerPopulationGroupIndex;
40 ::ll::TypedStorage<8, 8, uint64> mContainerPopulationGroupItemIndex;
41 ::ll::TypedStorage<8, 8, uint64> mContainerPopulationItemIndex;
42 ::ll::TypedStorage<8, 8, uint64> mContainerPopulationTotalItemCount;
43 // NOLINTEND
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 // vIndex: 0
49 virtual ~CraftingContainerManagerModel() /*override*/ = default;
50
51 // vIndex: 7
52 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
53
54 // vIndex: 8
55 virtual void setSlot(int, ::ItemStack const&, bool) /*override*/;
56
57 // vIndex: 9
58 virtual ::ItemStack const& getSlot(int) const /*override*/;
59
60 // vIndex: 10
61 virtual void setData(int, int) /*override*/;
62
63 // vIndex: 13
64 virtual void broadcastChanges() /*override*/;
65
66 // vIndex: 19
67 virtual bool isValid(float pickRange) /*override*/;
68
69 // vIndex: 14
70 virtual bool tick() /*override*/;
71
72 // vIndex: 20
73 virtual ::ContainerScreenContext _postInit() /*override*/;
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79
80 // NOLINTEND
81};
Definition ContainerManagerModel.h:29
Definition ContainerModel.h:25
Definition ContainerScreenContext.h:17
Definition CraftingContainerManagerModel.h:19
Definition ItemInstance.h:16
Definition ItemStack.h:25