LeviLamina
Loading...
Searching...
No Matches
ContainerController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/controllers/ItemSetType.h"
7
8// auto generated forward declare list
9// clang-format off
10class ContainerModel;
12class ItemInstance;
13class ItemStackBase;
14class Recipes;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContainerModel>> mContainerModel;
23 ::ll::TypedStorage<1, 1, bool> mDrop;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ~ContainerController() = default;
31
32 // vIndex: 1
33 virtual ::ItemInstance const& getRecipeItem(int) const;
34
35 // vIndex: 2
36 virtual bool canRemove(int, int) const;
37
38 // vIndex: 3
39 virtual bool isItemAllowed(::ItemStackBase const&) const;
40
41 // vIndex: 4
42 virtual bool isItemFiltered(::Recipes const&, ::ItemStackBase const&) const;
43
44 // vIndex: 5
45 virtual int getBackgroundStyle(int, bool) const;
46
47 // vIndex: 6
48 virtual ::ItemSetType
49 _canSet(::ContainerScreenContext const&, int, ::ItemStackBase const&, ::ItemTransferAmount) const;
50
51 // vIndex: 7
52 virtual int _getAvailableSetCount(::ContainerScreenContext const&, int, ::ItemStackBase const&) const;
53
54 // vIndex: 8
55 virtual bool _canRemove(int, int) const;
56
57 // vIndex: 9
58 virtual void _onItemChanged(int);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64
65 // NOLINTEND
66};
Definition ContainerController.h:18
Definition ContainerModel.h:25
Definition ContainerScreenContext.h:17
Definition ItemInstance.h:16
Definition ItemStackBase.h:35
Definition Recipes.h:36
Definition ItemTransferAmount.h:5