Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
BeaconPaymentContainerValidation.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
ContainerScreenContext
;
11
class
ItemStackBase
;
12
// clang-format on
13
14
class
BeaconPaymentContainerValidation
:
public
::ContainerValidationBase
{
15
public
:
16
// virtual functions
17
// NOLINTBEGIN
18
virtual
~BeaconPaymentContainerValidation
()
/*override*/
=
default
;
19
20
virtual
bool
isItemAllowedInSlot(
21
::ContainerScreenContext
const
& screenContext,
22
int
const
slot,
23
::ItemStackBase
const
& item,
24
int
const
amount,
25
bool
26
)
const
/*override*/
;
27
28
virtual
int
getAvailableSetCount(
int
slot,
::ItemStackBase
const
& item)
const
/*override*/
;
29
30
virtual
int
getAllowedAddCount(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
/*override*/
;
31
32
virtual
int
getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
33
34
virtual
bool
canDestroy(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// virtual function thunks
39
// NOLINTBEGIN
40
MCNAPI
bool
$isItemAllowedInSlot
(
41
::ContainerScreenContext
const
& screenContext,
42
int
const
slot,
43
::ItemStackBase
const
& item,
44
int
const
amount,
45
bool
46
)
const
;
47
48
MCNAPI
int
$getAvailableSetCount
(
int
slot,
::ItemStackBase
const
& item)
const
;
49
50
MCNAPI
int
$getAllowedAddCount
(
::ContainerScreenContext
const
&,
::ItemStackBase
const
&)
const
;
51
52
MCNAPI
int
$getContainerOffset
(
::ContainerScreenContext
const
& screenContext)
const
;
53
54
MCNAPI
bool
$canDestroy
(
::ContainerScreenContext
const
& screenContext)
const
;
55
56
57
// NOLINTEND
58
};
BeaconPaymentContainerValidation
Definition
BeaconPaymentContainerValidation.h:14
BeaconPaymentContainerValidation::$canDestroy
MCAPI bool $canDestroy(::ContainerScreenContext const &screenContext) const
BeaconPaymentContainerValidation::$isItemAllowedInSlot
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
BeaconPaymentContainerValidation::$getAvailableSetCount
MCAPI int $getAvailableSetCount(int slot, ::ItemStackBase const &item) const
BeaconPaymentContainerValidation::$getContainerOffset
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const
BeaconPaymentContainerValidation::$getAllowedAddCount
MCAPI int $getAllowedAddCount(::ContainerScreenContext const &, ::ItemStackBase const &) const
ContainerScreenContext
Definition
ContainerScreenContext.h:16
ContainerValidationBase
Definition
ContainerValidationBase.h:12
ItemStackBase
Definition
ItemStackBase.h:45
src
mc
world
inventory
simulation
validation
BeaconPaymentContainerValidation.h
Generated on
for LeviLamina by
1.16.1