Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptContainerWrapper Class Reference
Inheritance diagram for ScriptModuleMinecraft::ScriptContainerWrapper:

Public Member Functions

MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > find (::ScriptModuleMinecraft::ScriptItemStack const &scriptItemStack) const
MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > findLast (::ScriptModuleMinecraft::ScriptItemStack const &scriptItemStack) const
MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > firstEmptySlot () const
MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > firstItem () const
MCAPI ::Scripting::Result_deprecated< int > getEmptySlotsCount () const
MCAPI ::Scripting::Result_deprecated< int > getSize () const
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptContainerRulesError, ::Scripting::Error > moveItem (int fromSlot, int toSlot, ::ScriptModuleMinecraft::ScriptContainerWrapper &toScriptContainer) const
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptContainerRulesError, ::Scripting::Error > swapItems (int slot, int otherSlot, ::ScriptModuleMinecraft::ScriptContainerWrapper &otherScriptContainer) const

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptContainer > > mContainer

Member Function Documentation

◆ find()

MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > ScriptModuleMinecraft::ScriptContainerWrapper::find ( ::ScriptModuleMinecraft::ScriptItemStack const & scriptItemStack) 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.

◆ findLast()

MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > ScriptModuleMinecraft::ScriptContainerWrapper::findLast ( ::ScriptModuleMinecraft::ScriptItemStack const & scriptItemStack) 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.

◆ firstEmptySlot()

MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > ScriptModuleMinecraft::ScriptContainerWrapper::firstEmptySlot ( ) 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.

◆ firstItem()

MCAPI ::Scripting::Result<::std::optional< int >, ::ScriptModuleMinecraft::ScriptInvalidContainerError > ScriptModuleMinecraft::ScriptContainerWrapper::firstItem ( ) 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.

◆ getEmptySlotsCount()

MCAPI ::Scripting::Result_deprecated< int > ScriptModuleMinecraft::ScriptContainerWrapper::getEmptySlotsCount ( ) 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.

◆ getSize()

MCAPI ::Scripting::Result_deprecated< int > ScriptModuleMinecraft::ScriptContainerWrapper::getSize ( ) 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.

◆ moveItem()

MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptContainerRulesError, ::Scripting::Error > ScriptModuleMinecraft::ScriptContainerWrapper::moveItem ( int fromSlot,
int toSlot,
::ScriptModuleMinecraft::ScriptContainerWrapper & toScriptContainer ) 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.

◆ swapItems()

MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptContainerRulesError, ::Scripting::Error > ScriptModuleMinecraft::ScriptContainerWrapper::swapItems ( int slot,
int otherSlot,
::ScriptModuleMinecraft::ScriptContainerWrapper & otherScriptContainer ) 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.

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleMinecraft::ScriptContainerWrapper::bind ( )
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.

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