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, ::ItemStackBase const&) const /*override*/;
32
33 virtual int getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const /*override*/;
34
35 virtual bool isItemAllowedInSlot(
36 ::ContainerScreenContext const& slot,
37 int const item,
38 ::ItemStackBase const& amount,
39 int const,
40 bool
41 ) const /*override*/;
42
43 virtual int getContainerSize(::ContainerScreenContext const& screenContext, ::Container const&) const /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI explicit HorseEquipContainerValidation(::ContainerScreenContext const& screenContext);
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::ContainerScreenContext const& screenContext);
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCFOLD int $getAvailableSetCount(int, ::ItemStackBase const&) const;
62
63 MCFOLD int $getAllowedAddCount(::ContainerScreenContext const&, ::ItemStackBase const&) const;
64
65 MCAPI bool $isItemAllowedInSlot(
66 ::ContainerScreenContext const& slot,
67 int const item,
68 ::ItemStackBase const& amount,
69 int const,
70 bool
71 ) const;
72
73 MCAPI int $getContainerSize(::ContainerScreenContext const& screenContext, ::Container const&) const;
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition ContainerScreenContext.h:19
Definition ContainerValidationBase.h:12
Definition Container.h:34
static MCAPI void ** $vftable()
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:52