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

Public Types

enum class  Type : uint {
  NormalTransaction = 0 , InventoryMismatch = 1 , ItemUseTransaction = 2 , ItemUseOnEntityTransaction = 3 ,
  ItemReleaseTransaction = 4
}

Public Member Functions

virtual void postLoadItems (::BlockPalette &blockPalette, bool isClientSide)
virtual::InventoryTransactionError handle (::Player &player, bool isSenderAuthority) const
virtual void onTransactionError (::Player &player, ::InventoryTransactionError error) const
MCAPI void $postLoadItems (::BlockPalette &blockPalette, bool isClientSide)
MCAPI::InventoryTransactionError $handle (::Player &player, bool isSenderAuthority) const
MCAPI void $onTransactionError (::Player &player, ::InventoryTransactionError error) const

Static Public Member Functions

static MCAPI void _setDepenetrationOverride (::EntityContext &entity)
static MCAPI ::std::unique_ptr<::ComplexInventoryTransaction > fromType (::ComplexInventoryTransaction::Type type, ::InventoryTransaction const &transaction)
static MCAPI ::std::string const getTransactionTypeName (::ComplexInventoryTransaction::Type type)
static MCAPI ::BidirectionalUnorderedMap<::ComplexInventoryTransaction::Type, ::std::string > const & transactionTypeMap ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, ::ComplexInventoryTransaction::Type > mType
::ll::TypedStorage< 8, 88, ::InventoryTransaction > mTransaction

Member Function Documentation

◆ _setDepenetrationOverride()

MCAPI void ComplexInventoryTransaction::_setDepenetrationOverride ( ::EntityContext & entity)
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.

◆ getTransactionTypeName()

MCAPI ::std::string const ComplexInventoryTransaction::getTransactionTypeName ( ::ComplexInventoryTransaction::Type type)
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.

◆ transactionTypeMap()

MCAPI ::BidirectionalUnorderedMap<::ComplexInventoryTransaction::Type, ::std::string > const & ComplexInventoryTransaction::transactionTypeMap ( )
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.

◆ $postLoadItems()

MCAPI void ComplexInventoryTransaction::$postLoadItems ( ::BlockPalette & blockPalette,
bool isClientSide )
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.

◆ $onTransactionError()

MCAPI void ComplexInventoryTransaction::$onTransactionError ( ::Player & player,
::InventoryTransactionError error ) 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.

◆ $vftable()

MCAPI void ** ComplexInventoryTransaction::$vftable ( )
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: