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
10
class
Container
;
11
class
ContainerScreenContext
;
12
class
ItemDescriptor
;
13
class
ItemStackBase
;
14
// clang-format on
15
16
class
HorseEquipContainerValidation
:
public
::ContainerValidationBase
{
17
public
:
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
24
public
:
25
// prevent constructor by default
26
HorseEquipContainerValidation
();
27
28
public
:
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(
39
::ContainerScreenContext
const
&,
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
54
public
:
55
// member functions
56
// NOLINTBEGIN
57
MCNAPI
explicit
HorseEquipContainerValidation
(
::ContainerScreenContext
const
& screenContext);
58
// NOLINTEND
59
60
public
:
61
// constructor thunks
62
// NOLINTBEGIN
63
MCNAPI
void
*
$ctor
(
::ContainerScreenContext
const
& screenContext);
64
// NOLINTEND
65
66
public
:
67
// destructor thunk
68
// NOLINTBEGIN
69
MCNAPI
void
$dtor
();
70
// NOLINTEND
71
72
public
:
73
// virtual function thunks
74
// NOLINTBEGIN
75
MCNAPI
int
$getAvailableSetCount
(
int
slot,
::ItemStackBase
const
& item)
const
;
76
77
MCNAPI
int
$getAllowedAddCount
(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
78
79
MCNAPI
bool
$isItemAllowedInSlot
(
80
::ContainerScreenContext
const
&,
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
90
public
:
91
// vftables
92
// NOLINTBEGIN
93
MCNAPI
static
void
**
$vftable
();
94
// NOLINTEND
95
};
ContainerScreenContext
Definition
ContainerScreenContext.h:17
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:30
HorseEquipContainerValidation
Definition
HorseEquipContainerValidation.h:16
HorseEquipContainerValidation::$getAvailableSetCount
MCAPI int $getAvailableSetCount(int slot, ::ItemStackBase const &item) const
HorseEquipContainerValidation::$vftable
static MCAPI void ** $vftable()
HorseEquipContainerValidation::$isItemAllowedInSlot
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &, int const slot, ::ItemStackBase const &item, int const amount, bool) const
HorseEquipContainerValidation::$ctor
MCAPI void * $ctor(::ContainerScreenContext const &screenContext)
HorseEquipContainerValidation::$getContainerSize
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
HorseEquipContainerValidation::HorseEquipContainerValidation
MCAPI HorseEquipContainerValidation(::ContainerScreenContext const &screenContext)
HorseEquipContainerValidation::$getAllowedAddCount
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
HorseEquipContainerValidation::$dtor
MCAPI void $dtor()
ItemDescriptor
Definition
ItemDescriptor.h:22
ItemStackBase
Definition
ItemStackBase.h:35
src
mc
world
inventory
simulation
validation
HorseEquipContainerValidation.h
Generated on Fri Jun 13 2025 05:05:07 for LeviLamina by
1.12.0