LeviLamina
Loading...
Searching...
No Matches
ContainerScreenValidation Class Reference
Inheritance diagram for ContainerScreenValidation:

Public Member Functions

virtual::ContainerValidationResult tryCraft (::std::unique_ptr<::ContainerValidationCraftInputs >, uchar const)
virtual::ContainerValidationCraftResult getCraftResults (::std::unique_ptr<::ContainerValidationCraftInputs >, uchar const)
virtual::ContainerValidationResult tryActivate ()
MCAPI ContainerScreenValidation (::ContainerScreenContext const &screenContext, ::ContainerValidationCaller caller, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers)
MCAPI void _commit ()
MCAPI::ContainerValidationSlotInfo _createContainerValidatorSlotInfo (::ContainerValidationSlotData const &slotData)
MCAPI bool _dropItems ()
MCAPI ::std::shared_ptr<::ContainerValidationBase const > _getOrCreateContainerValidator (::FullContainerName const &containerEnumName)
MCAPI bool _propagateContainers ()
MCAPI int _tryAddItem (::ContainerValidationSlotInfo &slotInfo, int addCount, bool allowPartialSuccess)
MCAPI bool _tryMoveItem (::ContainerValidationSlotInfo &srcValidatorPair, ::ContainerValidationSlotInfo &dstValidatorPair)
MCAPI::ItemStack _tryRemoveItem (::ContainerValidationSlotInfo &slotInfo, int amount)
MCAPI int _trySetItem (::ContainerValidationSlotInfo &slotInfo, ::ItemStack const &stack, bool isWholeStackTransfer, bool allowPartialSuccess, bool isInternalTransfer)
MCAPI::ContainerValidationResult _tryTransferSpecial (::ContainerValidationSlotData const &srcSlotData, int transferAmount, ::ContainerScreenRequestActionType actionType)
MCAPI ::std::shared_ptr<::SimpleSparseContainergetOrCreateSparseContainer (::FullContainerName const &containerEnumName)
MCAPI bool tryCommitActionResults ()
MCAPI::ContainerValidationResult tryConsume (::ContainerValidationSlotData const &srcSlotData, int transferAmount)
MCAPI::ContainerValidationResult tryDrop (::ContainerValidationSlotData const &srcSlotData, int transferAmount, bool dropRandomly)
MCAPI::ContainerValidationResult trySwap (::ContainerValidationSlotData const &srcSlotData, ::ContainerValidationSlotData const &dstSlotData)
MCAPI::ContainerValidationResult tryTransfer (::ContainerValidationSlotData const &srcSlotData, ::ContainerValidationSlotData const &dstSlotData, int transferAmount, bool isAllowingPartialTransfer)
MCAPI void * $ctor (::ContainerScreenContext const &screenContext, ::ContainerValidationCaller caller, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers)
MCAPI void $dtor ()
MCAPI::ContainerValidationResult $tryCraft (::std::unique_ptr<::ContainerValidationCraftInputs >, uchar const)
MCAPI::ContainerValidationCraftResult $getCraftResults (::std::unique_ptr<::ContainerValidationCraftInputs >, uchar const)
MCAPI::ContainerValidationResult $tryActivate ()

Static Public Member Functions

static MCAPI ::std::unique_ptr<::ContainerScreenValidation > makeContainerScreenValidation (::ContainerScreenContext const &screenContext, ::ContainerValidationCaller caller, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 40, ::ContainerScreenContextmScreenContext
::ll::TypedStorage< 4, 4, ::ContainerValidationCaller > mCaller
::ll::TypedStorage< 8, 64, ::std::unordered_map<::FullContainerName, uint64 > > mContainerIndexMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::ContainerValidationBase const > > > mContainerValidatorMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > > mPredictiveContainers
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ContainerScreenValidatorBase > > mContainerScreenValidator
::ll::TypedStorage< 8, 24, ::std::vector<::ContainerValidationLayer > > mValidationStack
::ll::TypedStorage< 4, 12, ::ContainerValidationDebug const > mDebug

Constructor & Destructor Documentation

◆ ContainerScreenValidation()

MCAPI ContainerScreenValidation::ContainerScreenValidation ( ::ContainerScreenContext const & screenContext,
::ContainerValidationCaller caller,
::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _commit()

MCAPI void ContainerScreenValidation::_commit ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _createContainerValidatorSlotInfo()

MCAPI::ContainerValidationSlotInfo ContainerScreenValidation::_createContainerValidatorSlotInfo ( ::ContainerValidationSlotData const & slotData)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _dropItems()

MCAPI bool ContainerScreenValidation::_dropItems ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getOrCreateContainerValidator()

MCAPI ::std::shared_ptr<::ContainerValidationBase const > ContainerScreenValidation::_getOrCreateContainerValidator ( ::FullContainerName const & containerEnumName)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _propagateContainers()

MCAPI bool ContainerScreenValidation::_propagateContainers ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryAddItem()

MCAPI int ContainerScreenValidation::_tryAddItem ( ::ContainerValidationSlotInfo & slotInfo,
int addCount,
bool allowPartialSuccess )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryMoveItem()

MCAPI bool ContainerScreenValidation::_tryMoveItem ( ::ContainerValidationSlotInfo & srcValidatorPair,
::ContainerValidationSlotInfo & dstValidatorPair )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryRemoveItem()

MCAPI::ItemStack ContainerScreenValidation::_tryRemoveItem ( ::ContainerValidationSlotInfo & slotInfo,
int amount )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _trySetItem()

MCAPI int ContainerScreenValidation::_trySetItem ( ::ContainerValidationSlotInfo & slotInfo,
::ItemStack const & stack,
bool isWholeStackTransfer,
bool allowPartialSuccess,
bool isInternalTransfer )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _tryTransferSpecial()

MCAPI::ContainerValidationResult ContainerScreenValidation::_tryTransferSpecial ( ::ContainerValidationSlotData const & srcSlotData,
int transferAmount,
::ContainerScreenRequestActionType actionType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getOrCreateSparseContainer()

MCAPI ::std::shared_ptr<::SimpleSparseContainer > ContainerScreenValidation::getOrCreateSparseContainer ( ::FullContainerName const & containerEnumName)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ tryCommitActionResults()

MCAPI bool ContainerScreenValidation::tryCommitActionResults ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ tryConsume()

MCAPI::ContainerValidationResult ContainerScreenValidation::tryConsume ( ::ContainerValidationSlotData const & srcSlotData,
int transferAmount )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ tryDrop()

MCAPI::ContainerValidationResult ContainerScreenValidation::tryDrop ( ::ContainerValidationSlotData const & srcSlotData,
int transferAmount,
bool dropRandomly )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ trySwap()

MCAPI::ContainerValidationResult ContainerScreenValidation::trySwap ( ::ContainerValidationSlotData const & srcSlotData,
::ContainerValidationSlotData const & dstSlotData )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ tryTransfer()

MCAPI::ContainerValidationResult ContainerScreenValidation::tryTransfer ( ::ContainerValidationSlotData const & srcSlotData,
::ContainerValidationSlotData const & dstSlotData,
int transferAmount,
bool isAllowingPartialTransfer )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ makeContainerScreenValidation()

MCAPI ::std::unique_ptr<::ContainerScreenValidation > ContainerScreenValidation::makeContainerScreenValidation ( ::ContainerScreenContext const & screenContext,
::ContainerValidationCaller caller,
::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * ContainerScreenValidation::$ctor ( ::ContainerScreenContext const & screenContext,
::ContainerValidationCaller caller,
::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void ContainerScreenValidation::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $tryCraft()

MCAPI::ContainerValidationResult ContainerScreenValidation::$tryCraft ( ::std::unique_ptr<::ContainerValidationCraftInputs > ,
uchar const  )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getCraftResults()

MCAPI::ContainerValidationCraftResult ContainerScreenValidation::$getCraftResults ( ::std::unique_ptr<::ContainerValidationCraftInputs > ,
uchar const  )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $tryActivate()

MCAPI::ContainerValidationResult ContainerScreenValidation::$tryActivate ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** ContainerScreenValidation::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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