LeviLamina
Loading...
Searching...
No Matches
ItemContext Class Reference

Public Member Functions

ItemContextoperator= (ItemContext const &)
 
 ItemContext (ItemContext const &)
 
MCAPI::ItemStack const & _getItem () const
 
MCAPI void _setItem (::ItemStack const &item)
 
MCAPI::Container * _tryGetContainerFromEntity () const
 
MCAPI ::std::optional<::std::vector<::std::string > > getDynamicPropertyIds (::std::string const &collection) const
 
MCAPI ::std::optional<::std::vector<::std::string > > getLore () const
 
MCAPI ::std::optional<::std::string > getNameTag () const
 
MCAPI bool isValid () const
 
MCAPI bool setAmount (int amount)
 
MCAPI ::std::optional< bool > setCanDestroy (::std::vector<::std::string > const &blockIdentifiers)
 
MCAPI ::std::optional< bool > setCanPlaceOn (::std::vector<::std::string > const &blockIdentifiers)
 
MCAPI bool setDynamicProperty (::std::string const &collection, ::std::string const &key, ::std::optional<::std::variant< double, float, bool, ::std::string, ::Vec3 > > const &optionalValue)
 
MCAPI bool setKeepOnDeath (bool value)
 
MCAPI bool setLore (::std::optional<::std::vector<::std::string > > const &loreList)
 
MCAPI bool setNameTag (::std::optional<::std::string > nameTag)
 
MCAPI ~ItemContext ()
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI bool _trySetEquippedSlot (::ItemStack const &item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot, ::Mob &mob)
 
static MCAPI bool setEquipment (::ItemStack const &item, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot, ::Mob &mob)
 

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnka4dc0e
 
::ll::UntypedStorage< 8, 8 > mUnk1b40db
 
::ll::UntypedStorage< 4, 4 > mUnka18ec5
 
::ll::UntypedStorage< 4, 4 > mUnkf522d2
 
::ll::UntypedStorage< 8, 8 > mUnk593683
 
::ll::UntypedStorage< 4, 12 > mUnk941ac7
 
::ll::UntypedStorage< 8, 24 > mUnkf97e18
 

Constructor & Destructor Documentation

◆ ~ItemContext()

MCAPI ItemContext::~ItemContext ( )
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

◆ _getItem()

MCAPI::ItemStack const & ItemContext::_getItem ( ) 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.

◆ _setItem()

MCAPI void ItemContext::_setItem ( ::ItemStack const & item)
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.

◆ _tryGetContainerFromEntity()

MCAPI::Container * ItemContext::_tryGetContainerFromEntity ( ) 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.

◆ getDynamicPropertyIds()

MCAPI ::std::optional<::std::vector<::std::string > > ItemContext::getDynamicPropertyIds ( ::std::string const & collection) 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.

◆ getLore()

MCAPI ::std::optional<::std::vector<::std::string > > ItemContext::getLore ( ) 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.

◆ getNameTag()

MCAPI ::std::optional<::std::string > ItemContext::getNameTag ( ) 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.

◆ isValid()

MCAPI bool ItemContext::isValid ( ) 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.

◆ setAmount()

MCAPI bool ItemContext::setAmount ( int amount)
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.

◆ setCanDestroy()

MCAPI ::std::optional< bool > ItemContext::setCanDestroy ( ::std::vector<::std::string > const & blockIdentifiers)
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.

◆ setCanPlaceOn()

MCAPI ::std::optional< bool > ItemContext::setCanPlaceOn ( ::std::vector<::std::string > const & blockIdentifiers)
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.

◆ setDynamicProperty()

MCAPI bool ItemContext::setDynamicProperty ( ::std::string const & collection,
::std::string const & key,
::std::optional<::std::variant< double, float, bool, ::std::string, ::Vec3 > > const & optionalValue )
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.

◆ setKeepOnDeath()

MCAPI bool ItemContext::setKeepOnDeath ( bool 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.

◆ setLore()

MCAPI bool ItemContext::setLore ( ::std::optional<::std::vector<::std::string > > const & loreList)
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.

◆ setNameTag()

MCAPI bool ItemContext::setNameTag ( ::std::optional<::std::string > nameTag)
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.

◆ _trySetEquippedSlot()

static MCAPI bool ItemContext::_trySetEquippedSlot ( ::ItemStack const & item,
::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
::Mob & mob )
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.

◆ setEquipment()

static MCAPI bool ItemContext::setEquipment ( ::ItemStack const & item,
::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
::Mob & mob )
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.

◆ $dtor()

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

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