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 PlayerInventory (::std::unique_ptr<::Inventory > inv)
 
MCAPI int getItemCount (::std::function< bool(::ItemStack const &)> comparator)
 
MCAPI void init (::std::weak_ptr<::HudContainerManagerModel > hud)
 
MCAPI bool removeResource (int type)
 
MCAPI void * $ctor (::std::unique_ptr<::Inventory > inv)
 
MCAPI void $dtor ()
 
MCAPI 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)
 

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
 

Constructor & Destructor Documentation

◆ PlayerInventory()

MCAPI PlayerInventory::PlayerInventory ( ::std::unique_ptr<::Inventory > inv)
explicit
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

◆ containerSizeChanged()

virtual void PlayerInventory::containerSizeChanged ( int size)
virtual

◆ containerContentChanged()

virtual void PlayerInventory::containerContentChanged ( int slot)
virtual

◆ getItemCount()

MCAPI int PlayerInventory::getItemCount ( ::std::function< bool(::ItemStack const &)> comparator)
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.

◆ init()

MCAPI void PlayerInventory::init ( ::std::weak_ptr<::HudContainerManagerModel > hud)
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.

◆ removeResource()

MCAPI bool PlayerInventory::removeResource ( int 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.

◆ $ctor()

MCAPI void * PlayerInventory::$ctor ( ::std::unique_ptr<::Inventory > inv)
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 PlayerInventory::$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.

◆ $containerSizeChanged()

MCAPI void PlayerInventory::$containerSizeChanged ( int size)
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 PlayerInventory::$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.

◆ $createTransactionContext()

MCAPI void PlayerInventory::$createTransactionContext ( ::std::function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback,
::std::function< void()> execute )
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.

◆ $vftableForContainerSizeChangeListener()

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

◆ $vftableForContainerContentChangeListener()

static MCAPI void ** PlayerInventory::$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.

◆ $vftable() [1/2]

static MCAPI void ** ContainerSizeChangeListener::$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 ** 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.

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