LeviLamina
Loading...
Searching...
No Matches
BaseContainerMenu Class Referenceabstract
+ Inheritance diagram for BaseContainerMenu:

Public Member Functions

BaseContainerMenuoperator= (BaseContainerMenu const &)
 
 BaseContainerMenu (BaseContainerMenu const &)
 
virtual void removeSlot (int, int)=0
 
virtual bool isSlotDirty (int slot)
 
virtual bool isResultSlot (int slot)
 
virtual void containerContentChanged (int slot)
 
virtual void serverInitItemStackIds ()=0
 
virtual ::std::vector<::ItemStackgetItemCopies () const =0
 
virtual void setSlot (int, ::ItemStack const &, bool)=0
 
virtual::ItemStack const & getSlot (int) const =0
 
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 ()
 
virtual::Container * _getContainer () const =0
 
MCAPI BaseContainerMenu (::Player &player, ::SharedTypes::Legacy::ContainerType containerType)
 
MCAPI void _saveLastSlots (::Container *container)
 
MCAPI void * $ctor (::Player &player, ::SharedTypes::Legacy::ContainerType containerType)
 
MCAPI void $dtor ()
 
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 ()
 
virtual void setFullContainerSlot (int, ::FullContainerName const &, ::ItemStack const &, bool)=0
 
virtual::ItemStack const & getFullContainerSlot (int, ::FullContainerName const &) const =0
 

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, ::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
 

Constructor & Destructor Documentation

◆ BaseContainerMenu()

MCAPI BaseContainerMenu::BaseContainerMenu ( ::Player & player,
::SharedTypes::Legacy::ContainerType containerType )
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

◆ containerContentChanged()

virtual void BaseContainerMenu::containerContentChanged ( int slot)
virtual

◆ serverInitItemStackIds()

virtual void BaseContainerMenu::serverInitItemStackIds ( )
pure virtual

Implements IContainerManager.

◆ getItemCopies()

virtual ::std::vector<::ItemStack > BaseContainerMenu::getItemCopies ( ) const
pure virtual

Implements IContainerManager.

◆ setSlot()

virtual void BaseContainerMenu::setSlot ( int ,
::ItemStack const & ,
bool  )
pure virtual

Implements IContainerManager.

◆ getSlot()

virtual::ItemStack const & BaseContainerMenu::getSlot ( int ) const
pure virtual

Implements IContainerManager.

◆ setData()

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

Implements IContainerManager.

◆ getContainerId()

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

Implements IContainerManager.

◆ setContainerId()

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

Implements IContainerManager.

◆ getContainerType()

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

Implements IContainerManager.

◆ setContainerType()

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

Implements IContainerManager.

◆ registerContainerTypeListener()

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

Implements IContainerManager.

◆ broadcastChanges()

virtual void BaseContainerMenu::broadcastChanges ( )
virtual

Implements IContainerManager.

◆ _saveLastSlots()

MCAPI void BaseContainerMenu::_saveLastSlots ( ::Container * container)
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 )
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 BaseContainerMenu::$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.

◆ $isSlotDirty()

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

◆ $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: