|
| enum class | ActionType : int { Place = 0
, Use = 1
, Destroy = 2
, UseAsAttack = 3
} |
| enum class | ClientCooldownState : uchar { Off = 0
, On = 1
} |
| enum class | PredictedResult : uchar { Failure = 0
, Success = 1
} |
| enum class | TriggerType : uchar { Unknown = 0
, PlayerInput = 1
, SimulationTick = 2
} |
| enum class | Type : uint {
NormalTransaction = 0
, InventoryMismatch = 1
, ItemUseTransaction = 2
, ItemUseOnEntityTransaction = 3
,
ItemReleaseTransaction = 4
} |
|
|
virtual ::Bedrock::Result< void > | read (::ReadOnlyBinaryStream &stream) |
| virtual void | write (::BinaryStream &stream) const |
| virtual void | postLoadItems (::BlockPalette &blockPalette, bool isClientSide) |
| virtual void | onTransactionError (::Player &player, ::InventoryTransactionError error) const |
|
virtual::InventoryTransactionError | handle (::Player &player, bool isSenderAuthority) const |
|
MCAPI | ItemUseInventoryTransaction (::ItemUseInventoryTransaction const &transaction) |
|
MCAPI::ItemUseInventoryTransaction & | operator= (::ItemUseInventoryTransaction const &) |
|
MCAPI::ItemUseInventoryTransaction & | setSelectedItem (::ItemStack const &item) |
|
MCAPI void * | $ctor (::ItemUseInventoryTransaction const &transaction) |
|
MCAPI void | $dtor () |
|
MCAPI ::Bedrock::Result< void > | $read (::ReadOnlyBinaryStream &stream) |
|
MCAPI void | $write (::BinaryStream &stream) const |
|
MCFOLD void | $postLoadItems (::BlockPalette &blockPalette, bool isClientSide) |
|
MCAPI void | $onTransactionError (::Player &player, ::InventoryTransactionError error) const |
|
MCAPI::InventoryTransactionError | $handle (::Player &player, bool isSenderAuthority) const |
|
|
::ll::TypedStorage< 4, 4, ::ItemUseInventoryTransaction::ActionType > | mActionType |
|
::ll::TypedStorage< 1, 1, ::ItemUseInventoryTransaction::TriggerType > | mTriggerType |
|
::ll::TypedStorage< 4, 12, ::BlockPos > | mPos |
|
::ll::TypedStorage< 4, 4, uint > | mTargetBlockId |
|
::ll::TypedStorage< 1, 1, uchar > | mFace |
|
::ll::TypedStorage< 4, 4, int > | mSlot |
|
::ll::TypedStorage< 1, 1, ::HandSlot > | mHand |
|
::ll::TypedStorage< 8, 96, ::NetworkItemStackDescriptor > | mItem |
|
::ll::TypedStorage< 4, 12, ::Vec3 > | mFromPos |
|
::ll::TypedStorage< 4, 12, ::Vec3 > | mClickPos |
|
::ll::TypedStorage< 1, 1, ::ItemUseInventoryTransaction::PredictedResult > | mClientPredictedResult |
|
::ll::TypedStorage< 1, 1, ::ItemUseInventoryTransaction::ClientCooldownState > | mClientCooldownState |
|
::ll::TypedStorage< 4, 4, ::ComplexInventoryTransaction::Type > | mType |
|
::ll::TypedStorage< 8, 88, ::InventoryTransaction > | mTransaction |