LeviLamina
Loading...
Searching...
No Matches
DynamicContainerValidation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/FullContainerName.h"
7#include "mc/world/inventory/simulation/validation/ContainerValidationBase.h"
8
9// auto generated forward declare list
10// clang-format off
11class Container;
13class ItemStackBase;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 12, ::FullContainerName> mContainerName;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual bool canItemMoveToContainer(::ItemStackBase const& item) const /*override*/;
27
28 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
29
30 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
31 /*override*/;
32
33 virtual bool isItemAllowedInSlot(
34 ::ContainerScreenContext const& screenContext,
35 int const,
36 ::ItemStackBase const& item,
37 int const amount,
38 bool isInternalTransfer
39 ) const /*override*/;
40
41 virtual int
42 getAllowedAddCount(::ContainerScreenContext const& screenContext, ::ItemStackBase const& itemInSlot) const
43 /*override*/;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCFOLD bool $canItemMoveToContainer(::ItemStackBase const& item) const;
50
51 MCFOLD int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
52
53 MCFOLD int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
54
55 MCAPI bool $isItemAllowedInSlot(
56 ::ContainerScreenContext const& screenContext,
57 int const,
58 ::ItemStackBase const& item,
59 int const amount,
60 bool isInternalTransfer
61 ) const;
62
63 MCAPI int
64 $getAllowedAddCount(::ContainerScreenContext const& screenContext, ::ItemStackBase const& itemInSlot) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition ContainerScreenContext.h:16
Definition ContainerValidationBase.h:12
Definition Container.h:35
Definition DynamicContainerValidation.h:16
static MCAPI void ** $vftable()
Definition ItemStackBase.h:44