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
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
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 3
32 virtual int getAvailableSetCount(int slot, ::ItemStackBase const& item) const /*override*/;
33
34 // vIndex: 4
35 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
36
37 // vIndex: 2
38 virtual bool isItemAllowedInSlot(
40 int const slot,
41 ::ItemStackBase const& item,
42 int const amount,
43 bool
44 ) const /*override*/;
45
46 // vIndex: 9
47 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const
48 /*override*/;
49
50 // vIndex: 0
51 virtual ~HorseEquipContainerValidation() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI explicit HorseEquipContainerValidation(::ContainerScreenContext const& screenContext);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCNAPI void* $ctor(::ContainerScreenContext const& screenContext);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCNAPI void $dtor();
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCNAPI int $getAvailableSetCount(int slot, ::ItemStackBase const& item) const;
76
78
81 int const slot,
82 ::ItemStackBase const& item,
83 int const amount,
84 bool
85 ) const;
86
87 MCNAPI int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const& container) const;
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition ContainerScreenContext.h:17
Definition ContainerValidationBase.h:12
Definition Container.h:30
Definition HorseEquipContainerValidation.h:16
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:22
Definition ItemStackBase.h:35