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

Public Member Functions

MCAPI DynamicContainerManager (::FullContainerName const &name, ::std::shared_ptr<::ContainerModel > model, ::std::shared_ptr<::Container > container, ::ItemStack const &storageItem)
MCAPI void broadcastChanges (::PlayerContainerRefresher const &refresher, ::std::function< void()> contentsChangedCallback)
MCAPI void shareContainer (::ContainerOwner &containerOwner)
MCAPI void * $ctor (::FullContainerName const &name, ::std::shared_ptr<::ContainerModel > model, ::std::shared_ptr<::Container > container, ::ItemStack const &storageItem)

Public Attributes

::ll::TypedStorage< 4, 12, ::FullContainerName const > mFullContainerName
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ContainerModel > > mModel
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::Container > > mContainer
::ll::TypedStorage< 8, 24, ::std::vector<::ItemStack > > mLastSlots
::ll::TypedStorage< 1, 1, ::ContainerID > mContainerID
::ll::TypedStorage< 8, 152, ::ItemStack > mStorageItem

Constructor & Destructor Documentation

◆ DynamicContainerManager()

MCAPI DynamicContainerManager::DynamicContainerManager ( ::FullContainerName const & name,
::std::shared_ptr<::ContainerModel > model,
::std::shared_ptr<::Container > container,
::ItemStack const & storageItem )
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

◆ broadcastChanges()

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

◆ shareContainer()

MCAPI void DynamicContainerManager::shareContainer ( ::ContainerOwner & containerOwner)
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 * DynamicContainerManager::$ctor ( ::FullContainerName const & name,
::std::shared_ptr<::ContainerModel > model,
::std::shared_ptr<::Container > container,
::ItemStack const & storageItem )
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: