Creates a new instance of InventoryAction.
The source type of the inventory action.
The slot of the inventory action.
The old item of the inventory action.
The new item of the inventory action.
Readonly
newThe new item of the inventory action.
Readonly
oldThe old item of the inventory action.
Readonly
slotThe slot of the inventory action.
Readonly
sourceThe source type of the inventory action.
Static
readRead a value from the stream.
The BinaryStream to read from.
The value read from the stream.
Static
writeWrite a value to the stream.
The BinaryStream to write to.
The value to write.
Represents an inventory action with in a inventory transaction.