LeviLamina
Loading...
Searching...
No Matches
ContainerValidation Struct Reference

Public Types

using AllowedItemInContainerDelegate = ::std::function<bool(::ItemStackBase const&)>
using AllowedItemInSlotDelegate = ::std::function<bool(int, ::ItemStackBase const&, int)>
using AllowedItemToAddDelegate = ::std::function<bool(::ItemStackBase const&)>
using AllowedItemToRemoveDelegate = ::std::function<bool(::ItemStackBase const&)>
using AvailableSetCountDelegate = ::std::function<int(int, ::ItemStackBase const&)>
using ValidSlotForContainerDelegate = ::std::function<bool(int)>

Static Public Member Functions

static MCNAPI_C void assignValidForSlotContainerDelegate (::SparseContainer &sparseContainer, ::ContainerEnumName containerEnumName, ::ContainerScreenContext const &screenContext)
static MCNAPI_C void assignValidationDelegates (::SparseContainer &sparseContainer, ::ContainerEnumName containerEnumName, ::ContainerScreenContext const &screenContext)

The documentation for this struct was generated from the following file: