Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DynamicContainerTracker Class Reference

Public Member Functions

MCAPI ::std::optional<::ItemStack > _initializeStorageItem (::ItemStack const &item, ::StorageItemComponent *storageItemComponent, ::StorageWeightLimitItemComponent *storageWeightLimitItemComponent)
MCAPI void _markAux (::ItemStack const &item, int depth)
MCAPI void _retrackRecursiveAux (::ItemStack const &item, int depth)
MCAPI void broadcastChanges (::PlayerContainerRefresher &refresher, ::std::function< void()> contentsChangedCallback) const
MCAPI void sweep ()
MCAPI ::std::optional<::ItemStack > tryTrackContainer (::ItemStack const &item)

Public Attributes

::ll::TypedStorage< 8, 16, ::WeakRef<::IContainerRegistryAccess > > mContainerRegistryAccess
::ll::TypedStorage< 8, 16, ::WeakRef<::IContainerRegistryTracker > > mContainerRegistryManager
::ll::TypedStorage< 8, 64, ::std::unordered_map<::FullContainerName, ::std::unique_ptr<::DynamicContainerManager > > > mTrackedContainers
::ll::TypedStorage< 8, 64, ::std::unordered_set<::FullContainerName > > mMarkedReachable

Member Function Documentation

◆ _markAux()

MCAPI void DynamicContainerTracker::_markAux ( ::ItemStack const & item,
int depth )
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.

◆ _retrackRecursiveAux()

MCAPI void DynamicContainerTracker::_retrackRecursiveAux ( ::ItemStack const & item,
int depth )
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.

◆ broadcastChanges()

MCAPI void DynamicContainerTracker::broadcastChanges ( ::PlayerContainerRefresher & refresher,
::std::function< void()> contentsChangedCallback ) 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.

◆ sweep()

MCAPI void DynamicContainerTracker::sweep ( )
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.

◆ tryTrackContainer()

MCAPI ::std::optional<::ItemStack > DynamicContainerTracker::tryTrackContainer ( ::ItemStack const & item)
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: