18 using AllowedItemInContainerDelegate = ::std::function<bool(
::ItemStackBase const&)>;
20 using AllowedItemInSlotDelegate = ::std::function<bool(
int,
::ItemStackBase const&,
int)>;
22 using AllowedItemToAddDelegate = ::std::function<bool(
::ItemStackBase const&)>;
24 using AllowedItemToRemoveDelegate = ::std::function<bool(
::ItemStackBase const&)>;
26 using AvailableSetCountDelegate = ::std::function<int(
int,
::ItemStackBase const&)>;
28 using ValidSlotForContainerDelegate = ::std::function<bool(
int)>;
34 MCAPI
static void assignValidForSlotContainerDelegate(
36 ::ContainerEnumName containerEnumName,
40 MCAPI
static void assignValidationDelegates(
42 ::ContainerEnumName containerEnumName,
Definition ContainerScreenContext.h:17