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

Public Member Functions

virtual void containerSizeChanged (int size)
virtual void containerContentChanged (int slot)
virtual void createTransactionContext (::std::function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback, ::std::function< void()> execute)
MCAPI_C bool dropSlot (int slot, bool onlyClearContainer, bool dropAll, ::ContainerID containerId, bool randomly)
MCAPI int getItemCount (::std::function< bool(::ItemStack const &)> comparator)
MCAPI::ItemStack const & getSelectedItem () const
MCAPI void init (::std::weak_ptr<::HudContainerManagerModel > hud)
MCAPI bool selectSlot (int slot, ::ContainerID containerId)
MCFOLD void $containerSizeChanged (int size)
MCAPI void $containerContentChanged (int slot)
MCAPI void $createTransactionContext (::std::function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback, ::std::function< void()> execute)
MCFOLD void $dtor ()
MCFOLD void $dtor ()

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 4, 4, int > mSelected
::ll::TypedStorage< 8, 152, ::ItemStackmInfiniteItem
::ll::TypedStorage< 1, 1, ::ContainerID > mSelectedContainerId
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Inventory > > mInventory
::ll::TypedStorage< 8, 24, ::std::vector<::ItemStack > > mComplexItems
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::HudContainerManagerModel > > mHudContainerManager

Member Function Documentation

◆ containerSizeChanged()

virtual void PlayerInventory::containerSizeChanged ( int size)
virtual

◆ containerContentChanged()

virtual void PlayerInventory::containerContentChanged ( int slot)
virtual

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