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.
ReadonlynewThe new item of the inventory action.
ReadonlyoldThe old item of the inventory action.
ReadonlyslotThe slot of the inventory action.
ReadonlysourceThe source type of the inventory action.
StaticreadRead a value from the stream.
The BinaryStream to read from.
The value read from the stream.
StaticwriteWrite a value to the stream.
The BinaryStream to write to.
The value to write.
Represents an inventory action with in a inventory transaction.