LeviLamina
Loading...
Searching...
No Matches
HorseEquipContainerValidation.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 ItemDescriptor;
13class ItemStackBase;
14// clang-format on
15
16class HorseEquipContainerValidation : public ::ContainerValidationBase {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mArmorAllowedItems;
21 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>> mSaddleAllowedItems;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 HorseEquipContainerValidation();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual int getAvailableSetCount(int slot, ::ItemStackBase const& item) const /*override*/;
32
33 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
34
35 virtual bool isItemAllowedInSlot(
37 int const slot,
38 ::ItemStackBase const& item,
39 int const amount,
40 bool
41 ) const /*override*/;
42
43 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
44 /*override*/;
45
46 virtual ~HorseEquipContainerValidation() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCNAPI explicit HorseEquipContainerValidation(::ContainerScreenContext const& screenContext);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCNAPI void* $ctor(::ContainerScreenContext const& screenContext);
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCNAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCNAPI int $getAvailableSetCount(int slot, ::ItemStackBase const& item) const;
71
73
76 int const slot,
77 ::ItemStackBase const& item,
78 int const amount,
79 bool
80 ) const;
81
82 MCNAPI int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition Container.h:33
MCAPI int $getAvailableSetCount(int slot, ::ItemStackBase const &item) const
static MCAPI void ** $vftable()
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &, int const slot, ::ItemStackBase const &item, int const amount, bool) const
MCAPI void * $ctor(::ContainerScreenContext const &screenContext)
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
MCAPI HorseEquipContainerValidation(::ContainerScreenContext const &screenContext)
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
Definition ItemDescriptor.h:23
Definition ItemStackBase.h:44