|
enum class | ActionType : int { Place = 0
, Use = 1
, Destroy = 2
} |
|
enum class | TriggerType : uchar { Unknown = 0
, PlayerInput = 1
, SimulationTick = 2
} |
|
enum class | PredictedResult : uchar { Failure = 0
, Success = 1
} |
|
enum class | Type : uint {
NormalTransaction = 0
, InventoryMismatch = 1
, ItemUseTransaction = 2
, ItemUseOnEntityTransaction = 3
,
ItemReleaseTransaction = 4
} |
|
|
::ll::TypedStorage< 4, 4, ::ItemUseInventoryTransaction::ActionType > | mActionType |
|
::ll::TypedStorage< 1, 1, ::ItemUseInventoryTransaction::TriggerType > | mTriggerType |
|
::ll::TypedStorage< 4, 12, ::NetworkBlockPosition > | mPos |
|
::ll::TypedStorage< 4, 4, uint > | mTargetBlockId |
|
::ll::TypedStorage< 1, 1, uchar > | mFace |
|
::ll::TypedStorage< 4, 4, int > | mSlot |
|
::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< 4, 4, ::ComplexInventoryTransaction::Type > | mType |
|
::ll::TypedStorage< 8, 88, ::InventoryTransaction > | mTransaction |
|
◆ write()
virtual void ItemUseInventoryTransaction::write |
( |
::BinaryStream & | stream | ) |
const |
|
virtual |
◆ postLoadItems()
virtual void ItemUseInventoryTransaction::postLoadItems |
( |
::BlockPalette & | blockPalette, |
|
|
bool | isClientSide ) |
|
virtual |
◆ onTransactionError()
virtual void ItemUseInventoryTransaction::onTransactionError |
( |
::Player & | player, |
|
|
::InventoryTransactionError | error ) const |
|
virtual |
The documentation for this class was generated from the following file: