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

Public Member Functions

virtual void setSlot (int slot, ::ItemStack const &item, bool)
 
virtual::ItemStack const & getSlot (int slot) const
 
virtual void removeSlot (int slot, int count)
 
virtual void setFullContainerSlot (int slot, ::FullContainerName const &name, ::ItemStack const &item, bool)
 
virtual::ItemStack const & getFullContainerSlot (int slot, ::FullContainerName const &name) const
 
virtual void serverInitItemStackIds ()
 
virtual ::std::vector<::ItemStackgetItemCopies () const
 
virtual::Container * _getContainer () const
 
MCAPI void $dtor ()
 
MCAPI void $setSlot (int slot, ::ItemStack const &item, bool)
 
MCAPI::ItemStack const & $getSlot (int slot) const
 
MCAPI void $removeSlot (int slot, int count)
 
MCAPI void $setFullContainerSlot (int slot, ::FullContainerName const &name, ::ItemStack const &item, bool)
 
MCAPI::ItemStack const & $getFullContainerSlot (int slot, ::FullContainerName const &name) const
 
MCAPI void $serverInitItemStackIds ()
 
MCAPI ::std::vector<::ItemStack$getItemCopies () const
 
MCAPI::Container * $_getContainer () const
 
virtual bool isSlotDirty (int slot)
 
virtual bool isResultSlot (int slot)
 
virtual void containerContentChanged (int slot)
 
virtual void setData (int id, int value)
 
virtual::ContainerID getContainerId () const
 
virtual void setContainerId (::ContainerID id)
 
virtual::SharedTypes::Legacy::ContainerType getContainerType () const
 
virtual void setContainerType (::SharedTypes::Legacy::ContainerType type)
 
virtual::Bedrock::PubSub::Subscription registerContainerTypeListener (::std::function< void(::SharedTypes::Legacy::ContainerType)> callback) const
 
virtual void broadcastChanges ()
 
MCAPI void _saveLastSlots (::Container *container)
 
MCAPI void * $ctor (::Player &player, ::SharedTypes::Legacy::ContainerType containerType)
 
MCAPI bool $isSlotDirty (int slot)
 
MCAPI bool $isResultSlot (int slot)
 
MCAPI void $containerContentChanged (int slot)
 
MCAPI void $setData (int id, int value)
 
MCAPI::ContainerID $getContainerId () const
 
MCAPI void $setContainerId (::ContainerID id)
 
MCAPI::SharedTypes::Legacy::ContainerType $getContainerType () const
 
MCAPI void $setContainerType (::SharedTypes::Legacy::ContainerType type)
 
MCAPI::Bedrock::PubSub::Subscription $registerContainerTypeListener (::std::function< void(::SharedTypes::Legacy::ContainerType)> callback) const
 
MCAPI void $broadcastChanges ()
 

Static Public Member Functions

static MCAPI void ** $vftableForContainerContentChangeListener ()
 
static MCAPI void ** $vftableForIContainerManager ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::Container * > mContainer
 
::ll::TypedStorage< 8, 16, ::WeakRef<::IContainerRegistryAccess > > mContainerRegistryAccess
 
::ll::TypedStorage< 8, 8, ::Player & > mPlayer
 
::ll::TypedStorage< 8, 24, ::std::vector<::ItemStack > > mLastSlots
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PlayerContainerRefresher > > mContainerRefresher
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::DynamicContainerTracker > > mDynamicContainerTracker
 
::ll::TypedStorage< 1, 1, ::ContainerID > mContainerId
 
::ll::TypedStorage< 1, 1, ::SharedTypes::Legacy::ContainerType > mContainerType
 
::ll::TypedStorage< 4, 4, int > mTicksSinceLastCleanup
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Bedrock::PubSub::Publisher< void(::SharedTypes::Legacy::ContainerType), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > > mContainerTypeSubscribers
 

Member Function Documentation

◆ setSlot()

virtual void InventoryMenu::setSlot ( int slot,
::ItemStack const & item,
bool  )
virtual

Implements BaseContainerMenu.

◆ getSlot()

virtual::ItemStack const & InventoryMenu::getSlot ( int slot) const
virtual

Implements BaseContainerMenu.

◆ removeSlot()

virtual void InventoryMenu::removeSlot ( int slot,
int count )
virtual

Implements BaseContainerMenu.

◆ setFullContainerSlot()

virtual void InventoryMenu::setFullContainerSlot ( int slot,
::FullContainerName const & name,
::ItemStack const & item,
bool  )
virtual

Implements IContainerManager.

◆ getFullContainerSlot()

virtual::ItemStack const & InventoryMenu::getFullContainerSlot ( int slot,
::FullContainerName const & name ) const
virtual

Implements IContainerManager.

◆ serverInitItemStackIds()

virtual void InventoryMenu::serverInitItemStackIds ( )
virtual

Implements BaseContainerMenu.

◆ getItemCopies()

virtual ::std::vector<::ItemStack > InventoryMenu::getItemCopies ( ) const
virtual

Implements BaseContainerMenu.

◆ _getContainer()

virtual::Container * InventoryMenu::_getContainer ( ) const
virtual

Implements BaseContainerMenu.

◆ $dtor()

MCAPI void InventoryMenu::$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.

◆ $setSlot()

MCAPI void InventoryMenu::$setSlot ( int slot,
::ItemStack const & item,
bool  )
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.

◆ $getSlot()

MCAPI::ItemStack const & InventoryMenu::$getSlot ( int slot) 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.

◆ $removeSlot()

MCAPI void InventoryMenu::$removeSlot ( int slot,
int count )
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.

◆ $setFullContainerSlot()

MCAPI void InventoryMenu::$setFullContainerSlot ( int slot,
::FullContainerName const & name,
::ItemStack const & item,
bool  )
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.

◆ $getFullContainerSlot()

MCAPI::ItemStack const & InventoryMenu::$getFullContainerSlot ( int slot,
::FullContainerName const & name ) 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.

◆ $serverInitItemStackIds()

MCAPI void InventoryMenu::$serverInitItemStackIds ( )
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.

◆ $getItemCopies()

MCAPI ::std::vector<::ItemStack > InventoryMenu::$getItemCopies ( ) 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.

◆ $_getContainer()

MCAPI::Container * InventoryMenu::$_getContainer ( ) 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.

◆ $vftableForContainerContentChangeListener()

static MCAPI void ** InventoryMenu::$vftableForContainerContentChangeListener ( )
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.

◆ $vftableForIContainerManager()

static MCAPI void ** InventoryMenu::$vftableForIContainerManager ( )
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.

◆ containerContentChanged()

virtual void BaseContainerMenu::containerContentChanged ( int slot)
virtualinherited

◆ setData()

virtual void BaseContainerMenu::setData ( int id,
int value )
virtualinherited

Implements IContainerManager.

◆ getContainerId()

virtual::ContainerID BaseContainerMenu::getContainerId ( ) const
virtualinherited

Implements IContainerManager.

◆ setContainerId()

virtual void BaseContainerMenu::setContainerId ( ::ContainerID id)
virtualinherited

Implements IContainerManager.

◆ getContainerType()

virtual::SharedTypes::Legacy::ContainerType BaseContainerMenu::getContainerType ( ) const
virtualinherited

Implements IContainerManager.

◆ setContainerType()

virtual void BaseContainerMenu::setContainerType ( ::SharedTypes::Legacy::ContainerType type)
virtualinherited

Implements IContainerManager.

◆ registerContainerTypeListener()

virtual::Bedrock::PubSub::Subscription BaseContainerMenu::registerContainerTypeListener ( ::std::function< void(::SharedTypes::Legacy::ContainerType)> callback) const
virtualinherited

Implements IContainerManager.

◆ broadcastChanges()

virtual void BaseContainerMenu::broadcastChanges ( )
virtualinherited

Implements IContainerManager.

◆ _saveLastSlots()

MCAPI void BaseContainerMenu::_saveLastSlots ( ::Container * container)
inherited
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 * BaseContainerMenu::$ctor ( ::Player & player,
::SharedTypes::Legacy::ContainerType containerType )
inherited
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.

◆ $isSlotDirty()

MCAPI bool BaseContainerMenu::$isSlotDirty ( int slot)
inherited
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.

◆ $isResultSlot()

MCAPI bool BaseContainerMenu::$isResultSlot ( int slot)
inherited
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.

◆ $containerContentChanged()

MCAPI void BaseContainerMenu::$containerContentChanged ( int slot)
inherited
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.

◆ $setData()

MCAPI void BaseContainerMenu::$setData ( int id,
int value )
inherited
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.

◆ $getContainerId()

MCAPI::ContainerID BaseContainerMenu::$getContainerId ( ) const
inherited
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.

◆ $setContainerId()

MCAPI void BaseContainerMenu::$setContainerId ( ::ContainerID id)
inherited
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.

◆ $getContainerType()

MCAPI::SharedTypes::Legacy::ContainerType BaseContainerMenu::$getContainerType ( ) const
inherited
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.

◆ $setContainerType()

MCAPI void BaseContainerMenu::$setContainerType ( ::SharedTypes::Legacy::ContainerType type)
inherited
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.

◆ $registerContainerTypeListener()

MCAPI::Bedrock::PubSub::Subscription BaseContainerMenu::$registerContainerTypeListener ( ::std::function< void(::SharedTypes::Legacy::ContainerType)> callback) const
inherited
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 BaseContainerMenu::$broadcastChanges ( )
inherited
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() [1/2]

static MCAPI void ** ContainerContentChangeListener::$vftable ( )
staticinherited
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() [2/2]

static MCAPI void ** IContainerManager::$vftable ( )
staticinherited
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: