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/inventory/simulation/validation/ContainerValidationBase.h"
7
8// auto generated forward declare list
9// clang-format off
10class Container;
12class ItemStackBase;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 6
32 virtual bool canItemMoveToContainer(::ItemStackBase const& item) const /*override*/;
33
34 // vIndex: 8
35 virtual int getContainerOffset(::ContainerScreenContext const& screenContext) const /*override*/;
36
37 // vIndex: 9
38 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
39 /*override*/;
40
41 // vIndex: 2
42 virtual bool isItemAllowedInSlot(
43 ::ContainerScreenContext const& screenContext,
44 int const,
45 ::ItemStackBase const& item,
46 int const amount,
47 bool isInternalTransfer
48 ) const /*override*/;
49
50 // vIndex: 4
51 virtual int
52 getAllowedAddCount(::ContainerScreenContext const& screenContext, ::ItemStackBase const& itemInSlot) const
53 /*override*/;
54
55 // vIndex: 0
56 virtual ~DynamicContainerValidation() /*override*/ = default;
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCFOLD bool $canItemMoveToContainer(::ItemStackBase const& item) const;
69
70 MCFOLD int $getContainerOffset(::ContainerScreenContext const& screenContext) const;
71
72 MCFOLD int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
73
74 MCAPI bool $isItemAllowedInSlot(
75 ::ContainerScreenContext const& screenContext,
76 int const,
77 ::ItemStackBase const& item,
78 int const amount,
79 bool isInternalTransfer
80 ) const;
81
82 MCAPI int
83 $getAllowedAddCount(::ContainerScreenContext const& screenContext, ::ItemStackBase const& itemInSlot) const;
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCAPI static void** $vftable();
90 // NOLINTEND
91};
Definition ContainerScreenContext.h:11
Definition ContainerValidationBase.h:12
Definition Container.h:30
Definition DynamicContainerValidation.h:15
Definition ItemStackBase.h:35
Definition Alias.h:14